'api': 'g_afb_instance->app.api.', # where are our API functions
'functions': [
{
- 'name': 'request_surface',
+ 'name': 'requestsurface',
#'return_type': 'int', # Or do they return all just some json?
'args': [ # describes the functions arguments, and their names as found in the json request
{ 'name': 'drawing_name', 'type': 'char const*', 'jtype': 'string' },
],
},
{
- 'name': 'activate_surface',
+ 'name': 'activatesurface',
'args': [
{ 'name': 'drawing_name', 'type': 'char const*', 'jtype': 'string' },
],
},
{
- 'name': 'deactivate_surface',
+ 'name': 'deactivatesurface',
'args': [
{ 'name': 'drawing_name', 'type': 'char const*', 'jtype': 'string' },
],