Skip to content

Commit eb857c6

Browse files
Coldzer0Coldzer0
Coldzer0
authored and
Coldzer0
committed
sync with version "2019-09-18"
1 parent 5e5080a commit eb857c6

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
<br><hr><br>
88

99
* Change log
10+
- sync with QJS Version "2019-09-18"
11+
- Dlls is update to QJS Version "2019-09-18"
1012
- Sync with QJS Version "2019-09-01"
1113
- DLLs not updated yet (will upload static libs for mac, linux and dynamic ones for windows ).
1214
- Add Delphi Support

quickjs.pas

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
IN THE SOFTWARE.
2323
}
2424

25-
unit QuickJS; // sync with version - "2019-09-01".
25+
unit QuickJS; // sync with version - "2019-09-18".
2626

2727
{$IfDef FPC}
2828
{$MODE Delphi}
@@ -61,7 +61,8 @@ interface
6161
{===============================================================================}
6262
// QuickJS Constants
6363
{===============================================================================}
64-
64+
const
65+
QJS_VERSION = '2019-09-01';
6566
const
6667
{ all tags with a reference count are negative }
6768
JS_TAG_FIRST = -10; { first negative tag }
@@ -559,6 +560,7 @@ JSCFunctionListEntry = record
559560
function JS_AtomToValue(ctx: JSContext; atom:JSAtom):JSValue; cdecl; external {$IFDEF mswindows}QJSDLL{$endif};
560561
function JS_AtomToString(ctx: JSContext; atom:JSAtom):JSValue; cdecl; external {$IFDEF mswindows}QJSDLL{$endif};
561562
function JS_AtomToCString(ctx: JSContext; atom:JSAtom):{$IFDEF FPC}PChar{$Else}PAnsiChar{$EndIf}; cdecl; external {$IFDEF mswindows}QJSDLL{$endif};
563+
function JS_ValueToAtom(ctx: JSContext; val:JSValueConst) : JSAtom; cdecl; external {$IFDEF mswindows}QJSDLL{$endif};
562564

563565
{ object class support }
564566

quickjs32.dll

100755100644
111 KB
Binary file not shown.

quickjs64.dll

100755100644
50.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)