Private
Public Access
2
0

C++: Change enum types to be shorter in C++

* This changes the swig interface so Python/Node APIs change slightly

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-19 09:49:30 +01:00
parent 5d9fc39ae9
commit 3731263752
7 changed files with 36 additions and 72 deletions

View File

@@ -6,5 +6,5 @@ def test():
print("wooo")
x = maa.Gpio(6)
x.dir(maa.MAA_GPIO_IN)
x.isr(maa.MAA_GPIO_EDGE_BOTH, test)
x.dir(maa.DIR_IN)
x.isr(maa.EDGE_BOTH, test)