Author: EricStein
Date: 2007-07-08 03:12:36 -0400 (Sun, 08 Jul 2007)
New Revision: 415
Added:
trunk/pysoy/src/_datatypes/HashTable.pxi
Modified:
trunk/pysoy/include/glib.pxd
trunk/pysoy/src/_datatypes/soy._datatypes.pxd
Log:
Working on HashTable, but the include in glib.pxd is not working correctly.
Modified: trunk/pysoy/include/glib.pxd
===================================================================
--- trunk/pysoy/include/glib.pxd 2007-07-08 06:58:44 UTC (rev 414)
+++ trunk/pysoy/include/glib.pxd 2007-07-08 07:12:36 UTC (rev 415)
@@ -20,18 +20,18 @@
cdef extern from "glib.h" :
ctypedef void* gpointer
- ctypedef const void* gconstpointer
- ctypedef char gchar;
- ctypedef short gshort;
- ctypedef long glong;
- ctypedef int gint;
- ctypedef gint gboolean;
- ctypedef unsigned char guchar;
- ctypedef unsigned short gushort;
- ctypedef unsigned long gulong;
- ctypedef unsigned int guint;
- ctypedef float gfloat;
- ctypedef double gdouble;
+ ctypedef void* gconstpointer
+ ctypedef char gchar
+ ctypedef short gshort
+ ctypedef long glong
+ ctypedef int gint
+ ctypedef gint gboolean
+ ctypedef unsigned char guchar
+ ctypedef unsigned short gushort
+ ctypedef unsigned long gulong
+ ctypedef unsigned int guint
+ ctypedef float gfloat
+ ctypedef double gdouble
cdef struct GHashTable :
void* none
Added: trunk/pysoy/src/_datatypes/HashTable.pxi
===================================================================
--- trunk/pysoy/src/_datatypes/HashTable.pxi (rev 0)
+++ trunk/pysoy/src/_datatypes/HashTable.pxi 2007-07-08 07:12:36 UTC (rev
415)
@@ -0,0 +1,26 @@
+# PySoy HashTable class
+#
+# Copyright (C) 2007 Team PySoy
+#
+# This program 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; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program 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 this program; if not, see http://www.gnu.org/licenses
+#
+# $Id$
+
+cdef class HashTable :
+ '''GLib GHashTable
+
+ wrapped to allow ease of use by other PySoy classes.
+ '''
+ cdef void __new__(self) :
+ return
Property changes on: trunk/pysoy/src/_datatypes/HashTable.pxi
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: trunk/pysoy/src/_datatypes/soy._datatypes.pxd
===================================================================
--- trunk/pysoy/src/_datatypes/soy._datatypes.pxd 2007-07-08 06:58:44 UTC
(rev 414)
+++ trunk/pysoy/src/_datatypes/soy._datatypes.pxd 2007-07-08 07:12:36 UTC
(rev 415)
@@ -17,7 +17,12 @@
#
# $Id$
+cimport glib
+cdef class HashTable :
+ cdef glib.GHashTable _hashtable
+
+
cdef class FaceList :
cdef object _mesh
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn