Back to index

gcompris  8.2.2
Classes | Functions
py-gcompris-board.h File Reference
#include <Python.h>
#include "gcompris/gcompris.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pyGcomprisBoardObject

Functions

PyObject * gcompris_new_pyGcomprisBoardObject (GcomprisBoard *aboard)

Class Documentation

struct pyGcomprisBoardObject

Definition at line 9 of file py-gcompris-board.h.

Class Members
PyObject_HEAD GcomprisBoard * cdata

Function Documentation

PyObject* gcompris_new_pyGcomprisBoardObject ( GcomprisBoard *  aboard)

Definition at line 13 of file py-gcompris-board.c.

{
  pyGcomprisBoardObject* theboard = NULL;

  theboard = PyObject_New(pyGcomprisBoardObject, &pyGcomprisBoardType);
  if (theboard!=NULL)
    theboard->cdata = aboard;

  return (PyObject*)theboard;
}

Here is the caller graph for this function: