* libname is a declared constant indicating the library name, not a string

(was wrong in declaration of class_getName, but didn't cause problems
     since darwin ignores it)

git-svn-id: branches/objc@13693 -
This commit is contained in:
Jonas Maebe 2009-09-11 17:57:16 +00:00
parent 6fcd29c190
commit ba5a0204a8

View File

@ -81,7 +81,7 @@ function objc_msgSend_fpret (self: id; op: SEL): double; cdecl; varargs; extern
function class_getSuperclass(cls: pobjc_class): pobjc_class; cdecl; external libname;
function objc_getMetaClass(name: pchar): id; cdecl; external libname;
function class_getName(cls: pobjc_class): pchar; cdecl; external 'libname';
function class_getName(cls: pobjc_class): pchar; cdecl; external libname;
implementation