diff options
author | stephan <stephan@noemail.net> | 2022-12-16 11:13:32 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-12-16 11:13:32 +0000 |
commit | d83ab0cf856ecb8d1877a364100d23db05186d6b (patch) | |
tree | 5aa47f86bd38aea6a630b8f8fcbcb7a05536735d /ext/wasm/common/whwasmutil.js | |
parent | 00d6b2755fe197558019dc5ccf4e26740a7356a5 (diff) | |
download | sqlite-d83ab0cf856ecb8d1877a364100d23db05186d6b.tar.gz sqlite-d83ab0cf856ecb8d1877a364100d23db05186d6b.zip |
Add sqlite3_set_authorizer() support and related tests to JS.
FossilOrigin-Name: 551b848894c249cb3c9d237643d2ed53ffcb3b003d0cf3f797a535df1731ce39
Diffstat (limited to 'ext/wasm/common/whwasmutil.js')
-rw-r--r-- | ext/wasm/common/whwasmutil.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/wasm/common/whwasmutil.js b/ext/wasm/common/whwasmutil.js index 82d10dff1..87cc100f3 100644 --- a/ext/wasm/common/whwasmutil.js +++ b/ext/wasm/common/whwasmutil.js @@ -1580,6 +1580,11 @@ self.WhWasmUtilInstaller = function(target){ The constructor only saves the above state for later, and does not actually bind any functions. Its convertArg() method is called via xWrap() to perform any bindings. + + Shortcomings: function pointers which include C-string arguments + may still need a level of hand-written wrappers around them, + depending on how they're used, in order to provide the client + with JS strings. */ xArg.FuncPtrAdapter = class FuncPtrAdapter extends AbstractArgAdapter { constructor(opt) { |