Changeset 251 for trunk/nom/include/nomapi.h
- Timestamp:
- Mar 11, 2007, 2:22:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/include/nomapi.h
r250 r251 73 73 } nomClassDataStructure, *NomClassDataStructurePtr; 74 74 75 /** 76 Structure describing the parameters of a static method. The information 77 is used for runtime type information. 78 */ 75 79 typedef struct nomParmInfoStruct { 76 80 gulong ulNumParms; /* The number of parameters for this method */ 77 81 gchar* pReturnType; 78 gchar* pParm[]; /* Parameter types */82 gchar* pParm[]; /* Parameter types */ 79 83 }nomParmInfo; 80 84 … … 141 145 #define NOM_FLG_NOMUNINIT_OVERRIDEN 0x00000002 142 146 143 /* This structure holds additional informationen about class not to be found in nomMethodTab.147 /* This structure holds additional informationen about a class not to be found in nomMethodTab. 144 148 It holds the default method table of the class and the thunking code necessary to access 145 data and methods. 149 data and methods. Note that the name may be slightly misleading. This structure is not 150 limited to objects/classes which are related to NOMClass. It's a structure used by every NOM 151 class (be it a normal class or a meta class). 146 152 */ 147 153 typedef struct 148 154 { 149 155 nomMethodTab *mtab; /* This is the mtab for this class it points to thisMtab at the 150 end (not mtab for objects created by this meta class) */ 156 end. This is not an mtab for objects created by a meta class. 157 Meta classes store the pointer to a NOMClassPriv which specify 158 the objects they may create in a private instance variable. */ 151 159 gulong ulClassSize; /* The size of an instance (mtab+ instance vars) */ 152 160 gulong ulPrivClassSize; /* The size of this private struct including mtab (not pointr but 153 161 real filled structure. Do we need this? */ 154 // gulong ulIsMetaClass; /* Set to 1 if this is a metaclass */155 162 gulong ulClassFlags; /* Set to 1 if this is a metaclass */ 156 163 nomStaticClassInfo *sci; /* Class description */ 164 /* FIXME: the following list may be obsolete maybe when we just use the parentMtabStruc?? */ 157 165 nomMethodTabList mtabList; /* The (private) internal list of mtabs we maintain 158 166 struct nomMethodTabList {
Note:
See TracChangeset
for help on using the changeset viewer.