Skip to content

Commit 1accb15

Browse files
authored
Fix signature of _emval_as_int64/_emval_as_uint64 in JS. NFC (#19005)
Split out from #18995 since I noticed that it wasn't just the `__sig` by actually the argument list that was wrong in this case.
1 parent e5e97d2 commit 1accb15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/embind/emval.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,15 +328,15 @@ var LibraryEmVal = {
328328

329329
_emval_as_int64__deps: ['$Emval', '$requireRegisteredType'],
330330
_emval_as_int64__sig: 'jpp',
331-
_emval_as_int64: function(handle, returnType, destructorsRef) {
331+
_emval_as_int64: function(handle, returnType) {
332332
handle = Emval.toValue(handle);
333333
returnType = requireRegisteredType(returnType, 'emval::as');
334334
return returnType['toWireType'](null, handle);
335335
},
336336

337337
_emval_as_uint64__deps: ['$Emval', '$requireRegisteredType'],
338338
_emval_as_uint64__sig: 'jpp',
339-
_emval_as_uint64: function(handle, returnType, destructorsRef) {
339+
_emval_as_uint64: function(handle, returnType) {
340340
handle = Emval.toValue(handle);
341341
returnType = requireRegisteredType(returnType, 'emval::as');
342342
return returnType['toWireType'](null, handle);

0 commit comments

Comments
 (0)