summaryrefslogtreecommitdiffstats
path: root/generate-binding-glue.py
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-13 13:59:23 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commitf09cbfb256460bc934f1df1cef2939a35e032bab (patch)
tree8f5bcf849c53f52ed2cea0370fa3a60251a9ab91 /generate-binding-glue.py
parentf7f02a664fc0438f00e6bd09797a3bf4184c123f (diff)
binding/afbclient: use the correct binding names
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'generate-binding-glue.py')
-rw-r--r--generate-binding-glue.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/generate-binding-glue.py b/generate-binding-glue.py
index 4791b4d..177b8c2 100644
--- a/generate-binding-glue.py
+++ b/generate-binding-glue.py
@@ -106,20 +106,20 @@ API = {
'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' },
],