MCPcopy Create free account
hub / github.com/apache/cloudberry / PyInit_plpy

Function PyInit_plpy

src/pl/plpython/plpy_plpymodule.c:129–141  ·  view source on GitHub ↗

* Must have external linkage, because PyMODINIT_FUNC does dllexport on * Windows-like platforms. */

Source from the content-addressed store, hash-verified

127 * Windows-like platforms.
128 */
129PyMODINIT_FUNC
130PyInit_plpy(void)
131{
132 PyObject *m;
133
134 m = PyModule_Create(&PLy_module);
135 if (m == NULL)
136 return NULL;
137
138 PLy_add_exceptions(m);
139
140 return m;
141}
142#endif /* PY_MAJOR_VERSION >= 3 */
143
144void

Callers

nothing calls this directly

Calls 1

PLy_add_exceptionsFunction · 0.85

Tested by

no test coverage detected