Browse Source

* 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 -

Jonas Maebe 16 years ago
parent
commit
ba5a0204a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/objc1.pp

+ 1 - 1
rtl/inc/objc1.pp

@@ -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 class_getSuperclass(cls: pobjc_class): pobjc_class; cdecl; external libname;
 function objc_getMetaClass(name: pchar): id; 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
 implementation