Private
Public Access
2
0

gpio.hpp: Add C++ wrapper around Gpio

* maa_gpio_context bcomes an opaque pointer
* C++ wrapper class Gpio created
* swig now uses C++ wrapper Gpio to generate API

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-16 11:56:06 +01:00
parent f0763844fa
commit 058084cd88
9 changed files with 136 additions and 152 deletions

View File

@@ -36,7 +36,7 @@ void interrupt (void) {
int main ()
{
maa_init();
maa_gpio_context* x;
maa_gpio_context x;
x = maa_gpio_init(6);
if (x == NULL) {