Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : proto

Dir     : e17/proto/python-efl/python-evas/evas


Modified Files:
        python.pxd 


Log Message:
Make evas/python.pxd be a superset of python-{edje,ecore} and avoid compile 
problems if using build_ext --include-dirs /evas/

===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/python.pxd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- python.pxd  5 May 2007 02:33:18 -0000       1.2
+++ python.pxd  6 May 2007 17:26:13 -0000       1.3
@@ -3,6 +3,10 @@
     ctypedef unsigned int size_t
     # string.h
     void *memset(void *b, int c, size_t len)
+    int strcmp(char *a, char *b)
+
+    # stdlib.h
+    void free(void *ptr)
 
     # pyport.h / limits.h
     ctypedef long long PY_LONG_LONG
@@ -74,6 +78,12 @@
     int PyObject_CheckReadBuffer(obj)
     int PyObject_AsReadBuffer(obj, void **buffer, Py_ssize_t *buffer_len) 
except -1
     int PyObject_AsWriteBuffer(obj, void **buffer, Py_ssize_t *buffer_len) 
except -1
+
+    # buffer.h
+    object PyBuffer_FromObject(object, int offset, int size)
+    object PyBuffer_FromMemory(void *ptr, int size)
+    object PyBuffer_FromReadWriteMemory(void *ptr, int size)
+    object PyBuffer_New(int size)
 
     # methodobject.h
     object PyMethod_New(object func, object self, object cls)



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to