[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

UrShape definition Part I



Hi, there.

Since I don't see anyone providing a basic UrShape definition, I'll
try to write one myself. It is far from complete, but I need to
advance with this project, since my profesor will stop me from using
dia if I don't have a "working draft" of a UrShape by Friday.

typedef struct UrShape {
  ObjectOps my_ops; /* As seen in custom_object.c */
  ObjectType my_type; /* dito */
  ObjectTypeOps my_type_ops; /* nuff said */
  /* ... and the other stuff from custom_objects ... */
  int max_children;
  UrShapePtr parent, child, pre_sibling, next_sibling;
  /* This should do for the mini-dom */  
} UrShape, *UrShapePtr;

Or something like this. This will not compile, but I just want to
formalize the basis. Someone willing to improve this?

cu Andre
-- 
Tolerance rulez, everything else sux! -- Andre Kloss







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK