You've already forked lazarus-ccr
modified type 'id' definition
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@742 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -86,7 +86,7 @@ type
|
||||
//todo: types MUST BE declared properly as 2.0 opaques
|
||||
SEL = Pointer;
|
||||
IMP = Pointer;
|
||||
id = PtrInt;
|
||||
id = Pointer; //??
|
||||
size_t = LongWord;
|
||||
_Class = Pointer;
|
||||
Ivar = Pointer;
|
||||
|
@ -200,7 +200,7 @@ function object_getClass10(obj:id): _Class; cdecl;
|
||||
var
|
||||
name : PChar;
|
||||
begin
|
||||
if obj = 0 then Result := nil
|
||||
if obj = nil then Result := nil
|
||||
else begin
|
||||
Result := _Class(Pobjc_object1(obj)^.isa);
|
||||
end;
|
||||
@ -215,7 +215,7 @@ end;
|
||||
|
||||
function object_getIvar10(obj:id; ivar:Ivar):id; cdecl;
|
||||
begin
|
||||
Result := 0;
|
||||
Result := nil ;
|
||||
end;
|
||||
|
||||
procedure object_setIvar10(obj:id; ivar:Ivar; value:id); cdecl;
|
||||
|
Reference in New Issue
Block a user