[fpc-pascal] pas2js Webgl unit committed
Sven Barth
pascaldragon at googlemail.com
Wed May 2 18:36:13 CEST 2018
Ryan Joseph <ryan at thealchemistguild.com> schrieb am Mi., 2. Mai 2018, 15:57:
>
> class TJSWebGL2RenderingContextBase = external name
> 'WebGL2RenderingContextBase' (TJSObject)
>
It's "Typename = class external name 'foobar' (Basetype)", not "class
Typename = external name 'foobar' (Basetype)". We're not in C++ after all :P
public
> const READ_BUFFER: nativeint;
> const UNPACK_ROW_LENGTH: nativeint;
Just in case you aren't aware of it: "const", "type" and "var" start
sections, even inside classes/records, so you don't need to repeat the
"const". Instead it is common to write "public const" and then write all
constant members.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180502/77c4e59a/attachment.html>
More information about the fpc-pascal
mailing list