| 65 | #define NULLC_CHECK_INITIALIZED(retval) if(!initialized){ nullcLastError = "ERROR: NULLC is not initialized"; return retval; } |
| 66 | |
| 67 | void nullcInit(const char* importPath) |
| 68 | { |
| 69 | nullcInitCustomAlloc(NULL, NULL, importPath); |
| 70 | } |
| 71 | |
| 72 | void nullcInitCustomAlloc(void* (NCDECL *allocFunc)(int), void (NCDECL *deallocFunc)(void*), const char* importPath) |
| 73 | { |