summaryrefslogtreecommitdiffstats
path: root/src/net/java/games/gluegen/cgram
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2003-07-15 06:35:12 +0000
committerKenneth Russel <[email protected]>2003-07-15 06:35:12 +0000
commit68e29a425b63f1eca8e6879ebfb3324929b3dc2a (patch)
treef7b2af1c4ff4dab8e4c72dba2fd72223323d0bb6 /src/net/java/games/gluegen/cgram
parent1ad0557911c2466a6943564528b31cc33f48851d (diff)
Fixed issue 13: Readable names for function arguments
Applied patches submitted by [email protected]. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@32 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/gluegen/cgram')
-rw-r--r--src/net/java/games/gluegen/cgram/types/FunctionType.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/java/games/gluegen/cgram/types/FunctionType.java b/src/net/java/games/gluegen/cgram/types/FunctionType.java
index f864b4d2c..d84c49833 100644
--- a/src/net/java/games/gluegen/cgram/types/FunctionType.java
+++ b/src/net/java/games/gluegen/cgram/types/FunctionType.java
@@ -94,6 +94,11 @@ public class FunctionType extends Type {
argumentNames.add(argumentName);
}
+ public void setArgumentName(int i, String name)
+ {
+ argumentNames.set(i,name);
+ }
+
public String toString() {
return toString(null);
}