mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-25 02:32:19 -05:00
Merge branch 'ExportTypes' of https://github.com/Dgby714/Simba into Dgby714-ExportTypes
This commit is contained in:
commit
33df4011e4
@ -123,17 +123,14 @@ begin
|
|||||||
begin
|
begin
|
||||||
if (GetTypeInfo(I, Plugins[NumPlugins].Types[I].TypeName, Plugins[NumPlugins].Types[I].TypeDef) < 0) then
|
if (GetTypeInfo(I, Plugins[NumPlugins].Types[I].TypeName, Plugins[NumPlugins].Types[I].TypeDef) < 0) then
|
||||||
begin
|
begin
|
||||||
WriteLn('Failed...');
|
|
||||||
Plugins[NumPlugins].Types[I].TypeName := '';
|
Plugins[NumPlugins].Types[I].TypeName := '';
|
||||||
Plugins[NumPlugins].Types[I].TypeDef := '';
|
Plugins[NumPlugins].Types[I].TypeDef := '';
|
||||||
end;
|
end;
|
||||||
WriteLn(Plugins[NumPlugins].Types[I].TypeName + ' = ' + Plugins[NumPlugins].Types[I].TypeDef);
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
ArrC := GetFuncCount();
|
ArrC := GetFuncCount();
|
||||||
WriteLn(ArrC);
|
|
||||||
Plugins[NumPlugins].MethodLen := ArrC;
|
Plugins[NumPlugins].MethodLen := ArrC;
|
||||||
SetLength(Plugins[NumPlugins].Methods, ArrC);
|
SetLength(Plugins[NumPlugins].Methods, ArrC);
|
||||||
|
|
||||||
@ -142,7 +139,6 @@ begin
|
|||||||
begin;
|
begin;
|
||||||
if (GetFuncInfo(I, pntr, PD) < 0) then
|
if (GetFuncInfo(I, pntr, PD) < 0) then
|
||||||
Continue;
|
Continue;
|
||||||
WriteLn(PD);
|
|
||||||
Plugins[NumPlugins].Methods[I].FuncPtr := pntr;
|
Plugins[NumPlugins].Methods[I].FuncPtr := pntr;
|
||||||
Plugins[NumPlugins].Methods[I].FuncStr := PD;
|
Plugins[NumPlugins].Methods[I].FuncStr := PD;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user