From f09cbfb256460bc934f1df1cef2939a35e032bab Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Wed, 13 Sep 2017 13:59:23 +0200 Subject: binding/afbclient: use the correct binding names Signed-off-by: Marcus Fritzsch --- generate-binding-glue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'generate-binding-glue.py') 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' }, ], -- cgit 1.2.3-korg