From c9c1ab75ea5c5ef7feae32f20bed840c2e8feaf4 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 31 May 2010 18:39:58 +0200 Subject: fixed handling of size_t which was broken since the introduction of Int64Buffer. --- test/junit/com/sun/gluegen/test.c | 3 +++ test/junit/com/sun/gluegen/test.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'test/junit') diff --git a/test/junit/com/sun/gluegen/test.c b/test/junit/com/sun/gluegen/test.c index 06d5508..c511a53 100644 --- a/test/junit/com/sun/gluegen/test.c +++ b/test/junit/com/sun/gluegen/test.c @@ -8,6 +8,9 @@ int bufferTest(void * object) { return 42; } +void pbTest(size_t * object) { +} + int manyBuffersTest(void * object1, void * object2, void * object3, void * object4, void * object5) { return 42; } diff --git a/test/junit/com/sun/gluegen/test.h b/test/junit/com/sun/gluegen/test.h index 10399a6..cef2b7e 100644 --- a/test/junit/com/sun/gluegen/test.h +++ b/test/junit/com/sun/gluegen/test.h @@ -2,11 +2,14 @@ #define AL_FLANGER_DEFAULT_FEEDBACK (-0.5f) typedef unsigned long foo; +typedef unsigned long size_t; int arrayTest(long context, foo * array ); int bufferTest(void * object); +void pbTest(size_t * object); + int manyBuffersTest(void * object1, void * object2, void * object3, void * object4, void * object5); int mixedTest(long context, void * object, foo * array ); -- cgit v1.2.3