From e24dc9a626d1548f67dc79b8f73c519c392bda33 Mon Sep 17 00:00:00 2001
From: Kenneth Russel <kbrussel@alum.mit.edu>
Date: Sun, 26 Feb 2006 10:21:31 +0000
Subject: Added five examples of GlueGen configuration files to the manual for
 supporting access to various C programming language constructs. Still need to
 add at least two more for concrete and somewhat complex examples which show
 up in JOGL.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@18 a78bb65f-1512-4460-ba86-f6dc96a7bf27
---
 doc/manual/example4/function.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 doc/manual/example4/function.c

(limited to 'doc/manual/example4/function.c')

diff --git a/doc/manual/example4/function.c b/doc/manual/example4/function.c
new file mode 100644
index 0000000..8666666
--- /dev/null
+++ b/doc/manual/example4/function.c
@@ -0,0 +1,10 @@
+#include <stdlib.h>
+#include <malloc.h>
+
+void* custom_allocate(int num_bytes) {
+  return malloc(num_bytes);
+}
+
+void  custom_free(void* data) {
+  free(data);
+}
-- 
cgit v1.2.3