|
@@ -396,7 +396,6 @@ interface
|
|
function alignment:shortint;override;
|
|
function alignment:shortint;override;
|
|
function vmtmethodoffset(index:longint):longint;
|
|
function vmtmethodoffset(index:longint):longint;
|
|
function members_need_inittable : boolean;
|
|
function members_need_inittable : boolean;
|
|
- function find_implemented_interface(aintfdef:tobjectdef):TImplementedInterface;
|
|
|
|
{ this should be called when this class implements an interface }
|
|
{ this should be called when this class implements an interface }
|
|
procedure prepareguid;
|
|
procedure prepareguid;
|
|
function is_publishable : boolean;override;
|
|
function is_publishable : boolean;override;
|
|
@@ -1087,7 +1086,7 @@ implementation
|
|
{ target }
|
|
{ target }
|
|
systems,paramgr,
|
|
systems,paramgr,
|
|
{ symtable }
|
|
{ symtable }
|
|
- symsym,symtable,defutil,objcdef,defcmp,
|
|
|
|
|
|
+ symsym,symtable,defutil,objcdef,
|
|
{$ifdef jvm}
|
|
{$ifdef jvm}
|
|
jvmdef,
|
|
jvmdef,
|
|
{$endif}
|
|
{$endif}
|
|
@@ -6477,26 +6476,6 @@ implementation
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
- function tobjectdef.find_implemented_interface(aintfdef:tobjectdef):TImplementedInterface;
|
|
|
|
- var
|
|
|
|
- ImplIntf : TImplementedInterface;
|
|
|
|
- i : longint;
|
|
|
|
- begin
|
|
|
|
- result:=nil;
|
|
|
|
- if not assigned(ImplementedInterfaces) then
|
|
|
|
- exit;
|
|
|
|
- for i:=0 to ImplementedInterfaces.Count-1 do
|
|
|
|
- begin
|
|
|
|
- ImplIntf:=TImplementedInterface(ImplementedInterfaces[i]);
|
|
|
|
- if equal_defs(implintf.intfdef,aintfdef) then
|
|
|
|
- begin
|
|
|
|
- result:=ImplIntf;
|
|
|
|
- exit;
|
|
|
|
- end;
|
|
|
|
- end;
|
|
|
|
- end;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
function tobjectdef.is_publishable : boolean;
|
|
function tobjectdef.is_publishable : boolean;
|
|
begin
|
|
begin
|
|
is_publishable:=objecttype in [odt_class,odt_interfacecom,odt_interfacecorba,odt_dispinterface];
|
|
is_publishable:=objecttype in [odt_class,odt_interfacecom,odt_interfacecorba,odt_dispinterface];
|