+static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
+ PyObject *resultobj;
+ ob::Openbox *arg1 = (ob::Openbox *) 0 ;
+ std::string const &arg2_defvalue = "" ;
+ std::string *arg2 = (std::string *) &arg2_defvalue ;
+ std::string temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+
+ if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ if (PyString_Check(obj1)) {
+ temp2 = std::string(PyString_AsString(obj1));
+ arg2 = &temp2;
+ }else {
+ SWIG_exception(SWIG_TypeError, "string expected");
+ }
+ }
+ }
+ (arg1)->restart((std::string const &)*arg2);
+
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+