mirror of
https://github.com/openbabel/openbabel.git
synced 2025-02-25 18:55:23 -06:00
* scripts/*: Regenerate to add Craig's UnsetHash() and
UnsetWedge() calls.
This commit is contained in:
@@ -1339,6 +1339,8 @@ class OBBond(OBEdgeBase):
|
||||
def SetDown(*args): return _openbabel.OBBond_SetDown(*args)
|
||||
def SetInRing(*args): return _openbabel.OBBond_SetInRing(*args)
|
||||
def SetClosure(*args): return _openbabel.OBBond_SetClosure(*args)
|
||||
def UnsetHash(*args): return _openbabel.OBBond_UnsetHash(*args)
|
||||
def UnsetWedge(*args): return _openbabel.OBBond_UnsetWedge(*args)
|
||||
def UnsetUp(*args): return _openbabel.OBBond_UnsetUp(*args)
|
||||
def UnsetDown(*args): return _openbabel.OBBond_UnsetDown(*args)
|
||||
def UnsetAromatic(*args): return _openbabel.OBBond_UnsetAromatic(*args)
|
||||
|
||||
@@ -39579,6 +39579,48 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_OBBond_UnsetHash(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
|
||||
if(!PyArg_UnpackTuple(args,(char *)"OBBond_UnsetHash",1,1,&obj0)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetHash" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
|
||||
(arg1)->UnsetHash();
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_OBBond_UnsetWedge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
|
||||
if(!PyArg_UnpackTuple(args,(char *)"OBBond_UnsetWedge",1,1,&obj0)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OpenBabel__OBBond, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OBBond_UnsetWedge" "', argument " "1"" of type '" "OpenBabel::OBBond *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< OpenBabel::OBBond * >(argp1);
|
||||
(arg1)->UnsetWedge();
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_OBBond_UnsetUp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
OpenBabel::OBBond *arg1 = (OpenBabel::OBBond *) 0 ;
|
||||
@@ -50587,6 +50629,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"OBBond_SetDown", _wrap_OBBond_SetDown, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_SetInRing", _wrap_OBBond_SetInRing, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_SetClosure", _wrap_OBBond_SetClosure, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_UnsetHash", _wrap_OBBond_UnsetHash, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_UnsetWedge", _wrap_OBBond_UnsetWedge, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_UnsetUp", _wrap_OBBond_UnsetUp, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_UnsetDown", _wrap_OBBond_UnsetDown, METH_VARARGS, NULL},
|
||||
{ (char *)"OBBond_UnsetAromatic", _wrap_OBBond_UnsetAromatic, METH_VARARGS, NULL},
|
||||
|
||||
Reference in New Issue
Block a user