Crossfire Server, Branch 1.12  R12190
Data Structures | Defines | Typedefs | Variables
cfpython.h File Reference
#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

Defines

#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

CFPContextcontext_stack
CFPContextcurrent_context
f_plug_api gethook

Define Documentation

#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 */

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)
#define PyObject_HashNotImplemented   NULL

Definition at line 73 of file cfpython.h.


Typedef Documentation

typedef struct _cfpcontext CFPContext
typedef struct PythonCmdStruct PythonCmd

Variable Documentation

Definition at line 184 of file cfpython.c.

Definition at line 186 of file cfpython.c.

Definition at line 38 of file cfnewspaper.c.