Sergey Pepyakin
5b9e1f04ba
Remove E: UserError everywhere
2017-11-25 22:55:45 +03:00
Sergey Pepyakin
c4245d584e
Move signature checking into export_entry
...
Looking at the tests it seems that signature checking is expected to be done by `export_entry`. But in fact if signatures don't match, `export_entry` delegates to it's `env` field, which will usually should return `Error::Function` since there is no function registered with a such name.
This change set should fix that.
2017-11-23 13:49:03 +03:00
Svyatoslav Nikolsky
7deee2c46b
CustomUserError -> UserError
2017-08-01 16:15:08 +03:00
Svyatoslav Nikolsky
9437b7bdfc
merge 2 error enums
2017-08-01 14:44:33 +03:00
Svyatoslav Nikolsky
a02fdf5836
return custom user errors from native functions
2017-08-01 13:16:25 +03:00
Svyatoslav Nikolsky
8eee595e77
native globals
2017-07-31 11:58:24 +03:00
Svyatoslav Nikolsky
4b3f67e3cc
function_type returns type reference
2017-06-26 11:54:34 +03:00
Svyatoslav Nikolsky
b40591e121
remove comments
2017-06-23 13:20:41 +03:00
Svyatoslav Nikolsky
4b61e18929
plain instruction set draft
2017-06-22 17:52:05 +03:00
Svyatoslav Nikolsky
4ad3808e20
check export type in env_native
2017-06-21 09:23:20 +03:00
Svyatoslav Nikolsky
6befd68098
Merge branch 'master' into tests_finish
2017-06-19 13:43:21 +03:00
Svyatoslav Nikolsky
8a17a012c5
cleaning
2017-06-19 12:35:17 +03:00
Svyatoslav Nikolsky
ad390c95fd
cleaning
2017-06-19 12:09:18 +03:00
Svyatoslav Nikolsky
7bd7c6df98
cleanup
2017-06-19 12:04:16 +03:00
Svyatoslav Nikolsky
8d7d39d80b
call && call_indirect are working
2017-06-19 11:01:59 +03:00
Svyatoslav Nikolsky
0fc044cb5a
flush
2017-06-16 12:23:49 +03:00
Svyatoslav Nikolsky
669fdf1ed1
getting rid of calls recursion (continue)
2017-06-15 12:12:21 +03:00
NikVolf
5aa38bc905
missing api exposure and docs
2017-06-14 18:52:47 +03:00
NikVolf
0bcf7da546
fix warnings
2017-06-14 18:02:31 +03:00
NikVolf
f2ee624cea
static variants of passed functions
2017-06-14 17:07:22 +03:00
Svyatoslav Nikolsky
0ee2826943
another tests added
2017-06-13 12:01:59 +03:00
Svyatoslav Nikolsky
c8614bf6fe
next potion of tests added
2017-06-09 12:13:35 +03:00
Svyatoslav Nikolsky
a0bfa322c6
UserFunctionExecutor
2017-05-19 09:36:50 +03:00
Svyatoslav Nikolsky
977df55323
NativeModuleInstance
2017-05-18 15:08:55 +03:00