Commit Graph

124 Commits

Author SHA1 Message Date
Brandon Fish
2fa9cec0ed Add include guard 2019-02-09 18:07:05 -06:00
Brandon Fish
a0288c87ac Add Memory Grow C API 2019-02-09 17:53:03 -06:00
Brandon Fish
94c5acedbf Add basic Global API 2019-02-09 17:39:15 -06:00
Brandon Fish
8364c39b4c Add Table grow function 2019-02-09 13:58:50 -06:00
Brandon Fish
4e5e525626 Add basic Table functions 2019-02-09 13:37:07 -06:00
Brandon Fish
c3707efa08 Update for merge from master 2019-02-09 13:09:54 -06:00
Brandon Fish
309246e0d6 Add validate function and test 2019-02-05 00:01:01 -06:00
Brandon Fish
8d8dea7ec8 Implement basic C API memory functions 2019-02-04 21:46:47 -06:00
Brandon Fish
2defd27fac Also generate C++ bindings 2019-02-04 19:54:12 -06:00
Brandon Fish
6ed72a50ce Add instance_destroy back to test 2019-02-04 19:49:28 -06:00
Brandon Fish
fa959fa6ee Call cargo build during make test to build C API lib 2019-02-03 13:21:59 -06:00
Brandon Fish
358c306cea Add runtime-c-api as external project to build dependency 2019-02-03 12:33:42 -06:00
Brandon Fish
6185eb73a8 Configure cmake to find dylib/so/dll wasmer library 2019-02-03 12:14:14 -06:00
Brandon Fish
6f7db9062d Run cmake tests as part of a rust test 2019-02-02 20:16:53 -06:00
Brandon Fish
5d9e05c2f6 Add function signature parameters to set import func 2019-02-02 19:10:08 -06:00
Brandon Fish
d31c1c6068 Fix lints 2019-02-02 18:07:37 -06:00
Brandon Fish
ffb3dc083a Add test to import function and call it 2019-02-02 17:43:59 -06:00
Brandon Fish
9120a9d1f8 Implement tagged enum for params/results 2019-02-02 14:53:07 -06:00
Brandon Fish
3633ab8ef4 Add parameters and results 2019-02-02 10:44:08 -06:00
Brandon Fish
3c7ad109bc Fix instance null ptr bug 2019-02-02 08:43:29 -06:00
Brandon Fish
be19e96669 Implementing instantiate and call 2019-02-02 00:26:10 -06:00
Brandon Fish
62f7bb607e Add first c test to test the C api 2019-02-01 22:10:36 -06:00
Brandon Fish
6f05146737 Use build script to run cbinden behind feature flag 2019-02-01 18:52:22 -06:00
Brandon Fish
5ebea9672c Initial commit of C API library 2019-01-31 23:51:34 -06:00