freebsd-ports/graphics/py-paint/files/optpatch-aa
Kevin Lo bb8b021e51 Initial import of py-paint 0.1.
The paint module provides a simple and flexible facility for
painting PNG images files. The paint module depends upon
three free libraries: freetype, libart, libpng.

PR: 28819
Submitted by: Hye-Shik Chang <perky@python.or.kr>
2001-07-08 16:47:15 +00:00

13 lines
330 B
Plaintext

--- paint.h.orig Thu May 10 10:12:07 2001
+++ paint.h Mon Jul 9 00:01:22 2001
@@ -39,6 +39,9 @@
#include <libart_lgpl/art_svp_vpath_stroke.h>
#include "Python.h"
+#define Py_Malloc(n) PyMem_Malloc(n)
+#define Py_Realloc(p, n) PyMem_Realloc((p), (n))
+#define Py_Free(p) PyMem_Free(p)
typedef struct {
PyObject_HEAD