Add test for user data.

Also moved the VM parameter in the error callback to be first like it
is in other callbacks.
This commit is contained in:
Bob Nystrom
2017-03-22 07:26:19 -07:00
parent 907db83e1c
commit 02bcefcbe4
9 changed files with 83 additions and 10 deletions

3
test/api/user_data.h Normal file
View File

@ -0,0 +1,3 @@
#include "wren.h"
WrenForeignMethodFn userDataBindMethod(const char* signature);