From 332b8c95c51185102f219c0535fa109a941ae2df Mon Sep 17 00:00:00 2001 From: gfxadmin Date: Wed, 7 Dec 2005 03:05:35 +0000 Subject: Issue number: Submitted by: Travis & Ken Document char* mapping for the bindings in the specification overview. Modified Files: make/spec-overview.html git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@485 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/spec-overview.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'make/spec-overview.html') diff --git a/make/spec-overview.html b/make/spec-overview.html index e8e631f6a..4178de610 100644 --- a/make/spec-overview.html +++ b/make/spec-overview.html @@ -64,7 +64,9 @@ become float and all 64-bit floating-point types become double.

Integer return values that can only be GL_TRUE or GL_FALSE are mapped to boolean.
- +
+An outgoing C char* pointer, if representing a null-terminated, read-only C string, maps to a Java String. An outgoing C char** pointer, if similarly representing an array of read-only C strings, maps to a Java String[] (array of String objects). All other char* pointers, including those representing mutable C strings as used in some Get methods, are mapped to byte[] and ByteBuffer. +

Mapping of Pointer Arguments

OpenGL functions that take pointer arguments fall into several categories:
-- cgit v1.2.3