Back to index

gcompris  8.2.2
Classes | Functions
py-gcompris-wordlist.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  pyGcomprisWordlistObject

Functions

PyObject * gcompris_new_pyGcomprisWordlistObject (GcomprisWordlist *wordlist)

Class Documentation

struct pyGcomprisWordlistObject

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

Collaboration diagram for pyGcomprisWordlistObject:
Class Members
PyObject_HEAD GcomprisWordlist * cdata

Function Documentation

Definition at line 15 of file py-gcompris-wordlist.c.

{
  pyGcomprisWordlistObject* thewordlist = NULL;

  thewordlist = PyObject_New(pyGcomprisWordlistObject, &pyGcomprisWordlistType);
  if (thewordlist!=NULL)
    thewordlist->cdata = wordlist;

  return (PyObject*)thewordlist;
}

Here is the caller graph for this function: