KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pbr/tests/testpackage/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-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

Anon7 - 2021