Changeset 326 for trunk/nom/include/nomtk.h
- Timestamp:
- Apr 9, 2008, 10:22:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/include/nomtk.h
r255 r326 46 46 /* That's the base structure of all the SOM stuff */ 47 47 typedef struct _nomEnv { 48 ULONG cbSize; /* Size of this struct */ 49 PVOID pMemPool; /* Shared memory heap for sub alloc */ 48 gulong cbSize; /* Size of this struct */ 49 void *pMemPool; /* Shared memory heap for sub alloc */ 50 #ifdef __OS2__ 50 51 HMTX hmtx_obsolete; /* Mutex sem to protect this structure -Will go away! */ 51 ULONG ulNumRegIds; /* Number of registered somIDs */ 52 #else 53 /* PORTME */ 54 #endif 55 gulong ulNumRegIds; /* Number of registered somIDs */ 52 56 NOMClassPriv *ncpNOMObject; /* This is for NOMObject*/ 53 57 nomClasses livingMetaClasses; /* List of created meta classes. */ … … 65 69 NOMEXTERN PNOM_ENV NOMLINK nomTkInit(void); 66 70 67 NOMEXTERN nomToken NOMLINK NOMMalloc(const ULONGsize);71 NOMEXTERN nomToken NOMLINK NOMMalloc(const gulong size); 68 72 NOMEXTERN boolean NOMLINK NOMFree(const nomToken memPtr); 69 NOMEXTERN nomToken NOMLINK NOMCalloc(const ULONG num, const ULONGsize);73 NOMEXTERN nomToken NOMLINK NOMCalloc(const gulong num, const gulong size); 70 74 //NOMEXTERN gboolean NOMLINK nomIsObj(NOMObject * nomObj); 71 75 NOMEXTERN gboolean NOMLINK nomIsObj(gpointer nomObj); … … 80 84 81 85 /* Functions used by nomBuildClass() */ 82 ULONGpriv_requestSomEnvMutex(PNOM_ENV pEnv);83 ULONGpriv_releaseSomEnvMutex(PNOM_ENV pEnv);84 BOOLpriv_addPrivClassToGlobalClassList(PNOM_ENV pEnv, NOMClassPriv * nClass);86 gulong priv_requestSomEnvMutex(PNOM_ENV pEnv); 87 gulong priv_releaseSomEnvMutex(PNOM_ENV pEnv); 88 gboolean priv_addPrivClassToGlobalClassList(PNOM_ENV pEnv, NOMClassPriv * nClass); 85 89 NOMClassPriv* priv_findPrivClassInGlobalClassListFromName(PNOM_ENV pEnv, char* nClass); 86 90 … … 114 118 #endif 115 119 116 void _dumpClassDataStruct(nomClassDataStructure* cds, ULONGulNumMethods);120 void _dumpClassDataStruct(nomClassDataStructure* cds, gulong ulNumMethods); 117 121 void _dumpSci(nomStaticClassInfo* sci); 118 122 void _dumpMtab(nomMethodTab* mtab);
Note:
See TracChangeset
for help on using the changeset viewer.