jadonk / bonescript

Scripting tools for BeagleBone and PocketBeagle
http://beagleboard.org
MIT License
514 stars 159 forks source link

C Module Support Implementation using node module 'ffi' #170

Closed vaishnavachath closed 6 years ago

vaishnavachath commented 6 years ago

I have made some slight modifications to the earlier implementation and moved the examples to : https://github.com/vaishnav98/bonescript_ffiexamples and provided a description there. Also added test-cases , hope those tests are ok, i don't have much experience writing test cases.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+1.1%) to 37.054% when pulling 67f292c018785d59a9a14832e3bbd968a004a2de on vaishnav98:master into a7282d9bf64ebf6a315808ed1cd8daef835dc46b on jadonk:master.

jadonk commented 6 years ago

Put examples into https://github.com/jadonk/bone101 under examples/extras/c-from-js/mraa or something like that.

Also, be sure to reference the issue for these pull requests.

https://github.com/beagleboard/bonescript/issues/13