summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/JavaEmitter.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-17 21:26:26 +0000
committerKenneth Russel <[email protected]>2006-04-17 21:26:26 +0000
commit2aa23056d44c96db88d7cab700243886f6c00304 (patch)
tree1c0a604a727b2bd19621341e329a58a90829ecbe /src/java/com/sun/gluegen/JavaEmitter.java
parent97522e9c738cc01dc0081454a71019a829eb2a5f (diff)
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
Diffstat (limited to 'src/java/com/sun/gluegen/JavaEmitter.java')
-rw-r--r--src/java/com/sun/gluegen/JavaEmitter.java5
1 files changed, 5 insertions, 0 deletions
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,