Fixed non-debug builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3948 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
ecfef79f97
commit
c7e0b2d17e
@ -1715,7 +1715,10 @@ BOOL OOJSObjectGetterImpl(JSContext *context, JSObject *object, JSClass *require
|
||||
{
|
||||
OOJS_PROFILE_ENTER
|
||||
|
||||
NSCParameterAssert(context != NULL && object != NULL && requiredJSClass != NULL && requiredObjCClass != Nil && outObject != NULL);
|
||||
NSCParameterAssert(context != NULL && object != NULL && requiredJSClass != NULL && outObject != NULL);
|
||||
#ifndef NDEBUG
|
||||
NSCParameterAssert(requiredObjCClass != Nil);
|
||||
#endif
|
||||
|
||||
/*
|
||||
Ensure it's a valid type of JS object. This is absolutely necessary,
|
||||
|
Loading…
x
Reference in New Issue
Block a user