Crossfire Server, Branch 1.12  R12190
Data Structures | Defines | Functions | Variables
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

Defines

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

Functions

PyObject * Crossfire_Map_wrap (mapstruct *what)

Variables

PyTypeObject Crossfire_MapType

Define Documentation

#define MAPEXISTCHECK (   map)
#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.

Referenced by Map_InternalCompare(), and Map_SetPath().


Function Documentation

PyObject* Crossfire_Map_wrap ( mapstruct what)

Definition at line 336 of file cfpython_map.c.


Variable Documentation

PyTypeObject Crossfire_MapType