Crossfire Server, Trunk
cfpython_map.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Crossfire_Map
 

Macros

#define MAPEXISTCHECK(map)
 
#define MAPEXISTCHECK_INT(map)
 

Functions

PyObject * Crossfire_Map_wrap (mapstruct *what)
 

Variables

PyTypeObject Crossfire_MapType
 

Macro Definition Documentation

◆ MAPEXISTCHECK

#define MAPEXISTCHECK (   map)
Value:
{ \
if (!(map) || ((map)->valid == 0)) { \
PyErr_SetString(PyExc_ReferenceError, "Crossfire map no longer exists"); \
return NULL; \
} \
}

Definition at line 40 of file cfpython_map.h.

◆ MAPEXISTCHECK_INT

#define MAPEXISTCHECK_INT (   map)
Value:
{ \
if (!(map) || ((map)->valid == 0)) { \
PyErr_SetString(PyExc_ReferenceError, "Crossfire map no longer exists"); \
return -1; \
} \
}

Definition at line 47 of file cfpython_map.h.

Function Documentation

◆ Crossfire_Map_wrap()

PyObject* Crossfire_Map_wrap ( mapstruct what)

Definition at line 435 of file cfpython_map.cpp.

Variable Documentation

◆ Crossfire_MapType

disinfect.map
map
Definition: disinfect.py:4