From 2aa23056d44c96db88d7cab700243886f6c00304 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 17 Apr 2006 21:26:26 +0000 Subject: Fixed Issue 212: Incorporate patch to add URL links to GL javadoc Incorporated patch from user cylab on javagaming.org forums to generate @native tags in GL javadoc which are postprocessed using a taglet: http://www.javagaming.org/forums/index.php?topic=12629.0 Modified supplied patch to restrict the @native designation to only the function name, and to understand OpenGL data type-related suffixes (i.e., glVertex -> glVertex3f). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@29 a78bb65f-1512-4460-ba86-f6dc96a7bf27 --- src/java/com/sun/gluegen/JavaEmitter.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/java/com/sun/gluegen/JavaEmitter.java') diff --git a/src/java/com/sun/gluegen/JavaEmitter.java b/src/java/com/sun/gluegen/JavaEmitter.java index d4bafb7..5902430 100644 --- a/src/java/com/sun/gluegen/JavaEmitter.java +++ b/src/java/com/sun/gluegen/JavaEmitter.java @@ -356,6 +356,7 @@ public class JavaEmitter implements GlueEmitter { writer, cfg.runtimeExceptionType(), !signatureOnly && needsBody, + cfg.tagNativeBinding(), false, cfg.nioDirectOnly(binding.getName()), false, @@ -418,6 +419,7 @@ public class JavaEmitter implements GlueEmitter { writer, cfg.runtimeExceptionType(), false, + cfg.tagNativeBinding(), true, cfg.nioDirectOnly(binding.getName()), true, @@ -442,6 +444,7 @@ public class JavaEmitter implements GlueEmitter { writer, cfg.runtimeExceptionType(), false, + cfg.tagNativeBinding(), true, false, true, @@ -859,6 +862,7 @@ public class JavaEmitter implements GlueEmitter { writer, cfg.runtimeExceptionType(), true, + cfg.tagNativeBinding(), false, true, // FIXME: should unify this with the general emission code false, @@ -874,6 +878,7 @@ public class JavaEmitter implements GlueEmitter { writer, cfg.runtimeExceptionType(), false, + cfg.tagNativeBinding(), true, true, // FIXME: should unify this with the general emission code true, -- cgit v1.2.3