aboutsummaryrefslogtreecommitdiffstats
path: root/make/cg-common.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-10-22 22:35:23 +0000
committerKenneth Russel <[email protected]>2004-10-22 22:35:23 +0000
commitea9b2cf81b012e78c7da652f4b92f6067eaebfbb (patch)
tree74740668f94c1e9220ad0220d134495af3fccda4 /make/cg-common.cfg
parent81741bee34a8f6f8d17b8dde26bac42d94a5737d (diff)
Updated Cg definitions to Cg 1.3 beta 2 headers
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@157 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/cg-common.cfg')
-rw-r--r--make/cg-common.cfg14
1 files changed, 9 insertions, 5 deletions
diff --git a/make/cg-common.cfg b/make/cg-common.cfg
index 9ef0071ff..043822838 100644
--- a/make/cg-common.cfg
+++ b/make/cg-common.cfg
@@ -11,21 +11,29 @@ HierarchicalNativeOutput false
#
# Map const char* return values to Java strings for these functions
#
+ReturnsString cgGetEnumString
ReturnsString cgGetErrorString
+ReturnsString cgGetLastErrorString
ReturnsString cgGetLastListing
ReturnsString cgGetParameterName
ReturnsString cgGetParameterSemantic
ReturnsString cgGetProfileString
ReturnsString cgGetProgramString
ReturnsString cgGetResourceString
+ReturnsString cgGetString
ReturnsString cgGetTypeString
ArgumentIsString cgCreateProgram 2 4 5
ArgumentIsString cgCreateProgramFromFile 2 4 5
+ArgumentIsString cgGetEnum 0
ArgumentIsString cgGetNamedParameter 1
+ArgumentIsString cgGetNamedProgramParameter 2
+ArgumentIsString cgGetNamedStructParameter 1
+ArgumentIsString cgGetNamedUserType 1
+ArgumentIsString cgGetProfile 0
ArgumentIsString cgGetType 0
ArgumentIsString cgGetResource 0
-ArgumentIsString cgGetProfile 0
+ArgumentIsString cgSetParameterSemantic 1
# Opaque definitions
Opaque boolean CGbool
@@ -59,8 +67,4 @@ RuntimeExceptionType CgException
CustomCCode #include <stdlib.h>
CustomCCode #include <Cg/cgGL.h>
-ArgumentIsString fooString 0
-ArgumentIsString fooString1 0
-NioOnly fooFloat2
-
CustomJavaCode CgGL static { System.loadLibrary("jogl_cg");}