Changeset 221 for trunk/nom/src/nombuildnomobj.c
- Timestamp:
- Feb 3, 2007, 11:01:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/src/nombuildnomobj.c
r139 r221 147 147 an individual thunking code must be calculated because the number of instance 148 148 variables is not defined. */ 149 nClass->mThunk=NOMMalloc(sizeof(nomMethodThunk)*sci->ulNumStaticMethods); 150 if(!nClass->mThunk) { 151 NOMFree(nClass); 152 return NULLHANDLE; 149 if(0!=sci->ulNumStaticMethods){ 150 nClass->mThunk=NOMMalloc(sizeof(nomMethodThunk)*sci->ulNumStaticMethods); 151 if(!nClass->mThunk) { 152 NOMFree(nClass); 153 return NULLHANDLE; 154 } 153 155 } 154 156
Note:
See TracChangeset
for help on using the changeset viewer.