Towards virtual tables.

This commit is contained in:
Nuno Cruces
2023-11-14 13:56:27 +00:00
parent 90628ab8aa
commit 4bf8a79c1d
9 changed files with 326 additions and 73 deletions

View File

@@ -413,11 +413,11 @@ type sqliteAPI struct {
func exportCallbacks(env wazero.HostModuleBuilder) wazero.HostModuleBuilder {
util.ExportFuncII(env, "go_progress", callbackProgress)
util.ExportFuncVI(env, "go_destroy", callbackDestroy)
util.ExportFuncIIIIII(env, "go_compare", callbackCompare)
util.ExportFuncVIII(env, "go_func", callbackFunc)
util.ExportFuncVIII(env, "go_step", callbackStep)
util.ExportFuncVI(env, "go_final", callbackFinal)
util.ExportFuncVI(env, "go_value", callbackValue)
util.ExportFuncVIII(env, "go_inverse", callbackInverse)
util.ExportFuncIIIIII(env, "go_compare", callbackCompare)
return env
}