You've already forked lazarus-ccr
42 lines
546 B
ObjectPascal
42 lines
546 B
ObjectPascal
![]() |
unit JSCore3;
|
||
|
|
||
|
{$MODE OBJFPC}{$H+}
|
||
|
|
||
|
{$PACKRECORDS C}
|
||
|
{$BITPACKING ON}
|
||
|
{$MODESWITCH DUPLICATELOCALS+}
|
||
|
|
||
|
{$LINKLIB webkitgtk-3.0}
|
||
|
interface
|
||
|
uses
|
||
|
CTypes;
|
||
|
|
||
|
const
|
||
|
JSCore3_library = 'webkitgtk-3.0';
|
||
|
|
||
|
type
|
||
|
|
||
|
{ JSGlobalContextRef }
|
||
|
TJSGlobalContextRef = record
|
||
|
{ opaque type }
|
||
|
Unknown: Pointer;
|
||
|
end;
|
||
|
|
||
|
|
||
|
{ JSObjectRef }
|
||
|
TJSObjectRef = record
|
||
|
{ opaque type }
|
||
|
Unknown: Pointer;
|
||
|
end;
|
||
|
|
||
|
|
||
|
{ void }
|
||
|
Tvoid = record
|
||
|
{ opaque type }
|
||
|
Unknown: Pointer;
|
||
|
end;
|
||
|
|
||
|
|
||
|
procedure JSEvaluateScript; cdecl; external;
|
||
|
implementation
|
||
|
end.
|