#include <Python.h>
#include "motr/ha.h"
#include "module/instance.h"
#include "net/net.h"
#include "net/buffer_pool.h"
#include "reqh/reqh.h"
#include "rpc/rpc_machine.h"
#include "spiel/spiel.h"
Go to the source code of this file.
◆ STRUCTS
Value:
Definition at line 32 of file motr.c.
◆ X [1/2]
Value:static PyObject *
name ## __size(PyObject *
self, PyObject *
args) \
{ \
return PyLong_FromSize_t(
sizeof(
struct name)); \
}
Definition at line 45 of file motr.c.
◆ X [2/2]
#define X |
( |
|
name | ) |
{ #name "__size", name ## __size, METH_VARARGS, NULL }, |
◆ PyInit_motr()
PyMODINIT_FUNC PyInit_motr |
( |
void |
| ) |
|
◆ methods
Initial value:
Definition at line 53 of file motr.c.
◆ motrmodule
struct PyModuleDef motrmodule |
|
static |
Initial value:= {
PyModuleDef_HEAD_INIT,
"motr",
-1,
}
static STRUCTS PyMethodDef methods[]
Definition at line 60 of file motr.c.