Hackfut Security File Manager
Current Path:
/usr/lib64/python2.6/site-packages/modulator/Templates
usr
/
lib64
/
python2.6
/
site-packages
/
modulator
/
Templates
/
📁
..
📄
module_head
(113 B)
📄
module_method
(223 B)
📄
module_tail
(809 B)
📄
object_head
(243 B)
📄
object_method
(215 B)
📄
object_mlist
(117 B)
📄
object_new
(219 B)
📄
object_structure
(871 B)
📄
object_tail
(901 B)
📄
object_tp_as_mapping
(670 B)
📄
object_tp_as_number
(3.05 KB)
📄
object_tp_as_sequence
(1.37 KB)
📄
object_tp_call
(159 B)
📄
object_tp_compare
(121 B)
📄
object_tp_dealloc
(117 B)
📄
object_tp_getattr
(182 B)
📄
object_tp_hash
(95 B)
📄
object_tp_print
(131 B)
📄
object_tp_repr
(130 B)
📄
object_tp_setattr
(200 B)
📄
object_tp_str
(130 B)
Editing: module_tail
/* List of methods defined in the module */ static struct PyMethodDef $abbrev$_methods[] = { $methodlist$ {NULL, (PyCFunction)NULL, 0, NULL} /* sentinel */ }; /* Initialization function for the module (*must* be called init$name$) */ static char $name$_module_documentation[] = "" ; void init$name$() { PyObject *m, *d; /* Create the module and add the functions */ m = Py_InitModule4("$name$", $abbrev$_methods, $name$_module_documentation, (PyObject*)NULL,PYTHON_API_VERSION); /* Add some symbolic constants to the module */ d = PyModule_GetDict(m); ErrorObject = PyString_FromString("$name$.error"); PyDict_SetItemString(d, "error", ErrorObject); /* XXXX Add constants here */ /* Check for errors */ if (PyErr_Occurred()) Py_FatalError("can't initialize module $name$"); }
Upload File
Create Folder