36 #pragma mark Module initialisation
39 PyModuleDef_HEAD_INIT,
42 "This module contains Sparse Virtual File System classes."
44 "A Sparse Virtual File (SVF) is one where data from the actual file is held in memory at the relevant"
45 " file locations as in the original file."
46 " The original file is identified by a string ID."
47 " Data can be written to an SVF, if the data differs from that existing an error might be raised."
48 " Data can be read from an SVF, if the SVF does not have the data an error will be raised."
49 " Before any ``read()`` the SVF can describe what, if any, data is missing and the user can obtain and write that"
50 " data to the SVF before reading."
52 "A Sparse Virtual File System (SVFS) is an extension of that concept where a file ID (string) is the key to the"
81 if (PyModule_AddIntConstant(m,
"SVF_THREAD_SAFE",
82 #ifdef SVF_THREAD_SAFE
90 if (PyModule_AddIntConstant(m,
"SVFS_THREAD_SAFE",
91 #ifdef SVFS_THREAD_SAFE
99 if (PyModule_AddIntConstant(m,
"PY_THREAD_SAFE",
100 #ifdef PY_THREAD_SAFE
113 PyModule_AddObject(m,
"cSVF", (PyObject *) &
svfsc_cSVF);
119 PyModule_AddObject(m,
"cSVFS", (PyObject *) &
svfsc_cSVFS);
127 #pragma mark END: Module initialisation
static PyTypeObject svfsc_cSVF
static PyTypeObject svfsc_cSVFS
static PyModuleDef svfsmodule
PyMODINIT_FUNC PyInit_svfsc(void)
const char * SVFS_CPP_VERSION_SUFFIX
Version suffix string, could be "rc2" for example.
int SVFS_CPP_VERSION_PATCH
Patch version number.
int SVFS_CPP_VERSION_MINOR
Minor version number.
int SVFS_CPP_VERSION_MAJOR
Major version number.
const char * SVFS_CPP_VERSION
The version as a string.