403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/lib/python3.6/site-packages/pbr/tests/testpackage/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lib/python3.6/site-packages/pbr/tests/testpackage/src/testext.c
#include <Python.h>


static PyMethodDef TestextMethods[] = {
    {NULL, NULL, 0, NULL}
};


#if PY_MAJOR_VERSION >=3
static struct PyModuleDef testextmodule = {
    PyModuleDef_HEAD_INIT,  /* This should correspond to a PyModuleDef_Base type */
    "testext",  /* This is the module name */
    "Test extension module",  /* This is the module docstring */
    -1,  /* This defines the size of the module and says everything is global */
    TestextMethods  /* This is the method definition */
};

PyObject*
PyInit_testext(void)
{
    return PyModule_Create(&testextmodule);
}
#else
PyMODINIT_FUNC
inittestext(void)
{
    Py_InitModule("testext", TestextMethods);
}
#endif

Youez - 2016 - github.com/yon3zu
LinuXploit