root/gui/pythonmod/gnashmodule.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. DL_EXPORT

#include <pygobject.h>

void pygnash_register_classes (PyObject *d);

extern PyMethodDef pygnash_functions[];

DL_EXPORT(void)
initgnash(void)
{
    PyObject *m, *d;

    init_pygobject ();

    m = Py_InitModule ("gnash", pygnash_functions);
    d = PyModule_GetDict (m);

    pygnash_register_classes (d);

    if (PyErr_Occurred ()) {
        Py_FatalError ("can't initialise module gnash");
    }
}

/* [<][>][^][v][top][bottom][index][help] */