[Coldstuff] Perhaps a silly problem, but..

xmath xmath@nubz.org
Sat, 5 Jan 2002 00:05:05 +0100


Perhaps a silly problem, but.. what should I call those structures?

Maybe I should use "Obj" for the common part of the Waifs and Objects 
(otherwise I'll need to change a LOT of occurances of Obj to whatever 
name a I choose for the common part) and use cWaif and cObject for 
the full versions.

so

struct Obj {
     objnum, cache info, vars, etc
};

struct cWaif {
     Obj obj;
     cObjnum cclass;
     Long usage;
};

struct cObject {
     Obj obj;
     parents, children, methods, idents, etc
};

or do people have better suggestions?

  - xmath