[Pas2js] Forward external class
Henrique Gottardi Werlang
henriquewerlang at hotmail.com
Thu Jul 8 15:24:36 CEST 2021
Hello!
I would like to know how I should proceed to a suggestion of implementation.
I have a situation, which would make it very easy for me if it were possible to declare external classes, with early declaration.
Like this:
unit MyUnit;
interface
{$modeswitch externalclass}
type
TMyClass = class external;
TMyAnotherClass = class external name 'MyAnotherClass' (TMyClass)
end;
TMyClass = class external name 'MyClass'
end;
implementation
end.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20210708/1c8c0290/attachment.htm>
More information about the Pas2js
mailing list