maa.i: add printError() function to swig API
authorBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 19 May 2014 08:51:59 +0000 (09:51 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 19 May 2014 08:51:59 +0000 (09:51 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/maa.i

index c9e2b12..091bcf0 100644 (file)
--- a/src/maa.i
+++ b/src/maa.i
@@ -15,7 +15,8 @@
 %rename(getVersion) maa_get_version();
 const char * maa_get_version();
 
-#### GPIO ####
+%rename(printError) maa_result_print();
+void maa_result_print(maa_result_t result);
 
 #### GPIO ####