summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_struct.h
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2006-05-16 10:01:07 +0000
committerMichal Krol <mjkrol@gmail.org>2006-05-16 10:01:07 +0000
commita67330d157ffe05602a3163c946aa97e29cb6bb5 (patch)
tree887c324eb714adc2f2ba0b7b83cdf138202f5bd9 /src/mesa/shader/slang/slang_compile_struct.h
parentd1b40400d64a8ab7f4dc64410e165e7c49d30a28 (diff)
Cleanup code. Change constructor prototype.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_struct.h')
-rw-r--r--src/mesa/shader/slang/slang_compile_struct.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_struct.h b/src/mesa/shader/slang/slang_compile_struct.h
index a2a90704cd..79e6306616 100644
--- a/src/mesa/shader/slang/slang_compile_struct.h
+++ b/src/mesa/shader/slang/slang_compile_struct.h
@@ -32,11 +32,13 @@ extern "C" {
typedef struct slang_struct_scope_
{
struct slang_struct_ *structs;
- unsigned int num_structs;
+ GLuint num_structs;
struct slang_struct_scope_ *outer_scope;
} slang_struct_scope;
-int slang_struct_scope_construct (slang_struct_scope *);
+extern GLvoid
+_slang_struct_scope_ctr (slang_struct_scope *);
+
void slang_struct_scope_destruct (slang_struct_scope *);
int slang_struct_scope_copy (slang_struct_scope *, const slang_struct_scope *);
struct slang_struct_ *slang_struct_scope_find (slang_struct_scope *, slang_atom, int);