|
Crossfire Server, Branches 1.12
R18729
|
#include <Python.h>#include <compile.h>#include <plugin.h>#include <plugin_common.h>#include <cfpython_object.h>#include <cfpython_map.h>#include <cfpython_archetype.h>#include <cfpython_party.h>#include <cfpython_region.h>#include <cfpython_proto.h>
Include dependency graph for cfpython.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | _cfpcontext |
| struct | PythonCmdStruct |
Macros | |
| #define | CF_IS_PYSTR(cfpy_obj) (PyString_Check(cfpy_obj) || PyUnicode_Check(cfpy_obj)) |
| #define | IS_PY_LEGACY /* Pre-2.6 lack forward compat. changes for Py3 */ |
| #define | MODULEAPI |
| #define | NR_CUSTOM_CMD 1024 |
| #define | PLUGIN_NAME "Python" |
| #define | PLUGIN_VERSION "CFPython Plugin 2.0a13 (Fido)" |
| #define | Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) |
| #define | Py_TYPE(ob) (((PyObject*)(ob))->ob_type) |
| #define | PyObject_HashNotImplemented NULL |
Typedefs | |
| typedef struct _cfpcontext | CFPContext |
| typedef struct PythonCmdStruct | PythonCmd |
Variables | |
| CFPContext * | context_stack |
| CFPContext * | current_context |
| f_plug_api | gethook |
| #define CF_IS_PYSTR | ( | cfpy_obj | ) | (PyString_Check(cfpy_obj) || PyUnicode_Check(cfpy_obj)) |
Definition at line 80 of file cfpython.h.
Referenced by Object_SetMessage(), Object_SetName(), Object_SetNamePl(), Object_SetRace(), Object_SetSkill(), Object_SetSlaying(), Object_SetTitle(), and Player_SetTitle().
| #define IS_PY_LEGACY /* Pre-2.6 lack forward compat. changes for Py3 */ |
Definition at line 54 of file cfpython.h.
| #define MODULEAPI |
Definition at line 103 of file cfpython.h.
| #define NR_CUSTOM_CMD 1024 |
Definition at line 145 of file cfpython.h.
Referenced by getPluginProperty(), initPlugin(), and registerCommand().
| #define PLUGIN_NAME "Python" |
Definition at line 106 of file cfpython.h.
| #define PLUGIN_VERSION "CFPython Plugin 2.0a13 (Fido)" |
Definition at line 107 of file cfpython.h.
| #define Py_SIZE | ( | ob | ) | (((PyVarObject*)(ob))->ob_size) |
Definition at line 63 of file cfpython.h.
| #define Py_TYPE | ( | ob | ) | (((PyObject*)(ob))->ob_type) |
Definition at line 66 of file cfpython.h.
Referenced by Crossfire_Map_dealloc(), Crossfire_Object_dealloc(), and Crossfire_Player_dealloc().
| #define PyObject_HashNotImplemented NULL |
Definition at line 73 of file cfpython.h.
| typedef struct _cfpcontext CFPContext |
| typedef struct PythonCmdStruct PythonCmd |
| CFPContext* context_stack |
Definition at line 184 of file cfpython.c.
| CFPContext* current_context |
Definition at line 186 of file cfpython.c.
| f_plug_api gethook |
Definition at line 38 of file cfnewspaper.c.