From 36e023ad7af10181a8aa44b149fb25f003665198 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Wed, 22 Apr 2009 17:28:37 +0000 Subject: Add binary blobs selector --- (limited to 'fill/fillmodule.c') diff --git a/fill/fillmodule.c b/fill/fillmodule.c new file mode 100644 index 0000000..b23bfd7 --- /dev/null +++ b/fill/fillmodule.c @@ -0,0 +1,71 @@ +/* +Fill wrapper + + +Copyright 2007, NATE-LSI-EPUSP + +Oficina is developed in Brazil at Escola Politécnica of +Universidade de São Paulo. NATE is part of LSI (Integrable +Systems Laboratory) and stands for Learning, Work and Entertainment +Research Group. Visit our web page: +www.lsi.usp.br/nate +Suggestions, bugs and doubts, please email oficina@lsi.usp.br + +Oficina is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 of +the License. + +Oficina is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public +License along with Oficina; if not, write to the +Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, +Boston, MA 02110-1301 USA. +The copy of the GNU General Public License is found in the +COPYING file included in the source distribution. + + +Authors: + +Joyce Alessandra Saul (joycealess@gmail.com) +Andre Mossinato (andremossinato@gmail.com) +Nathalia Sautchuk Patrício (nathalia.sautchuk@gmail.com) +Pedro Kayatt (pekayatt@gmail.com) +Rafael Barbolo Lopes (barbolo@gmail.com) +Alexandre A. Gonçalves Martinazzo (alexandremartinazzo@gmail.com) +Bruno Gola (brunogola@gmail.com) + +Group Manager: +Irene Karaguilla Ficheman (irene@lsi.usp.br) + +Cientific Coordinator: +Roseli de Deus Lopes (roseli@lsi.usp.br) + +*/ +#include + +void fill_register_classes (PyObject *d); + +extern PyMethodDef fill_functions[]; + +DL_EXPORT(void) +init_fill(void) +{ + PyObject *m, *d; + + init_pygobject (); + + m = Py_InitModule ("_fill", fill_functions); + d = PyModule_GetDict (m); + + fill_register_classes (d); + + if (PyErr_Occurred ()) { + Py_FatalError ("can't initialise module fill"); + } + +} -- cgit v0.9.1