GLSL fixes:
[mesa.git] / src / mesa / shader / slang / slang_compile_struct.h
index 10af980216fd5e25fa58057868ea082c88183558..4798b6042fc11eda41ea7baf4d3315def0e1424b 100644 (file)
@@ -39,11 +39,11 @@ typedef struct slang_struct_scope_
 int slang_struct_scope_construct (slang_struct_scope *);\r
 void slang_struct_scope_destruct (slang_struct_scope *);\r
 int slang_struct_scope_copy (slang_struct_scope *, const slang_struct_scope *);\r
-struct slang_struct_ *slang_struct_scope_find (slang_struct_scope *, const char *, int);\r
+struct slang_struct_ *slang_struct_scope_find (slang_struct_scope *, slang_atom, int);\r
 \r
 typedef struct slang_struct_\r
 {\r
-       char *name;\r
+       slang_atom a_name;\r
        struct slang_variable_scope_ *fields;\r
        slang_struct_scope *structs;\r
 } slang_struct;\r