Updated wrap

This commit is contained in:
Philip Howard
2013-08-15 22:35:44 +01:00
parent 77a4244474
commit 8460e7975d
2 changed files with 35 additions and 0 deletions

View File

@@ -515,6 +515,10 @@ piGlowLeg = _wiringpi2.piGlowLeg
def piGlowRing(*args):
return _wiringpi2.piGlowRing(*args)
piGlowRing = _wiringpi2.piGlowRing
def piGlowSetup(*args):
return _wiringpi2.piGlowSetup(*args)
piGlowSetup = _wiringpi2.piGlowSetup
class nes(object):
def setupNesJoystick(self,*args):
return setupNesJoystick(*args)
@@ -693,6 +697,14 @@ class GPIO(object):
return lcdPrintf(self,*args)
def lcdInit(self,*args):
return lcdInit(self,*args)
def piGlowSetup(self,*args):
return piGlowSetup(self,*args)
def piGlow1(self,*args):
return piGlow1(self,*args)
def piGlowLeg(self,*args):
return piGlowLeg(self,*args)
def piGlowRing(self,*args):
return piGlowRing(self,*args)
# This file is compatible with both classic and new-style classes.

View File

@@ -2984,6 +2984,7 @@ static swig_module_info swig_module = {swig_types, 6, 0, 0, 0, 0};
#include "WiringPi/wiringPi/mcp3002.h"
#include "WiringPi/wiringPi/mcp3004.h"
#include "WiringPi/wiringPi/mcp23016reg.h"
#include "WiringPi/wiringPi/sn3218.h"
#include "WiringPi/wiringPi/mcp23x0817.h"
#include "WiringPi/wiringPi/mcp23s17.h"
#include "WiringPi/wiringPi/pcf8574.h"
@@ -6877,6 +6878,27 @@ fail:
}
SWIGINTERN PyObject *_wrap_piGlowSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:piGlowSetup",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "piGlowSetup" "', argument " "1"" of type '" "int""'");
}
arg1 = (int)(val1);
piGlowSetup(arg1);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
static PyMethodDef SwigMethods[] = {
{ (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
{ (char *)"wiringPiSetup", _wrap_wiringPiSetup, METH_VARARGS, NULL},
@@ -6991,6 +7013,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"piGlow1", _wrap_piGlow1, METH_VARARGS, NULL},
{ (char *)"piGlowLeg", _wrap_piGlowLeg, METH_VARARGS, NULL},
{ (char *)"piGlowRing", _wrap_piGlowRing, METH_VARARGS, NULL},
{ (char *)"piGlowSetup", _wrap_piGlowSetup, METH_VARARGS, NULL},
{ NULL, NULL, 0, NULL }
};