/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to tests/refcounting/Main.c

  • Committer: Gustav Hartvigsson
  • Date: 2013-09-06 15:05:32 UTC
  • mfrom: (5.2.4 simple_type_system_SMap)
  • Revision ID: gustav.hartvigsson@gmail.com-20130906150532-tudew69vmiljy1t6
* Merged the still unfinished SMap impleementation,
* TODO:
       To build a working SMap the system must determin whether or not an
       object is a child to SBaseObjectInstance or not.

       This is a non-trivial thing to do, and req. a lot of base work:
         A lookup table for objects is needed, with appropriet functions
         and probobly a main-loop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
  fprintf(stdout, "Refcount: %d\n", s_base_object_get_refcount (obj));
26
26
  
27
27
  s_base_object_unref (obj);
28
 
  fprintf(stdout, "Refcount: %d\n", s_base_object_get_refcount (obj));
29
 
  
30
 
  s_base_object_unref (obj);
31
 
  fprintf(stdout, "Refcount: %d\n", s_base_object_get_refcount (obj));
32
 
  
33
 
  s_base_object_unref (obj);
34
 
  fprintf(stdout, "Refcount: %d\n", s_base_object_get_refcount (obj));
 
28
  //fprintf(stdout, "Refcount: %d\n", s_base_object_get_refcount (obj));
 
29
 
35
30
  return 0;
36
31
}