source: trunk/ext/_syckmodule.c @ 3

Revision 3, 379 bytes checked in by xi, 9 years ago (diff)

Create directory structure and setup.py.

Line 
1
2#include <Python.h>
3#include <syck.h>
4
5static PyMethodDef _syck_methods[] = {
6    {NULL}  /* Sentinel */
7};
8
9static char _syck_doc[] =
10    "This module provides low-level access to the Syck parser and emitter.\n"
11    "Do not use this module directly, use the module 'syck' instead.\n";
12
13PyMODINIT_FUNC
14init_syck(void)
15{
16    Py_InitModule3("_syck", _syck_methods, _syck_doc);
17}
18
Note: See TracBrowser for help on using the repository browser.