c_bindings.cpp (551B)
1 #include "menu.hpp" 2 #include "stamen.hpp" 3 4 namespace stamen { 5 6 int stamen_builtin_display(const char *title, const stamen_item_t itemv[], int size) { 7 return builtin_display(title, itemv, size); 8 } 9 10 namespace menu { 11 12 void stamen_menu_read(const char *filename) { return read(filename); } 13 14 void stamen_menu_insert(const char *code, stamen_callback_f callback) { 15 return insert(code, callback); 16 } 17 18 int stamen_menu_dynamic(const char *code, stamen_display_f display) { 19 return dynamic(code, display); 20 } 21 22 } // namespace menu 23 } // namespace stamen