Skip to content

afaur/mruby_c_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes

This is an example of loading mruby code at runtime that can use c functions as exposed modules.

C Source for the experimental mruby sqlite gem (https://github.com/mattn/mruby-sqlite3) has been manually added in to this repo to show an example of how mruby gems work.

Running

./compile.sh && ./mruby_c_example

Included files

Project includes qo inside the bin directory (https://github.com/andlabs/qo) which makes compiling easier.

About

Reads mruby code at runtime and is able to call module::methods that execute c code.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors