diff options
author | Michal Krol <mjkrol@gmail.org> | 2006-05-16 10:01:07 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2006-05-16 10:01:07 +0000 |
commit | a67330d157ffe05602a3163c946aa97e29cb6bb5 (patch) | |
tree | 887c324eb714adc2f2ba0b7b83cdf138202f5bd9 /src/mesa/shader/slang/slang_compile_function.h | |
parent | d1b40400d64a8ab7f4dc64410e165e7c49d30a28 (diff) |
Cleanup code. Change constructor prototype.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_function.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h index b1f2bc7565..f9e908d91c 100644 --- a/src/mesa/shader/slang/slang_compile_function.h +++ b/src/mesa/shader/slang/slang_compile_function.h @@ -64,17 +64,20 @@ void slang_function_destruct (slang_function *); typedef struct slang_function_scope_ { slang_function *functions; - unsigned int num_functions; + GLuint num_functions; struct slang_function_scope_ *outer_scope; } slang_function_scope; -int slang_function_scope_construct (slang_function_scope *); +extern GLvoid +_slang_function_scope_ctr (slang_function_scope *); + void slang_function_scope_destruct (slang_function_scope *); int slang_function_scope_find_by_name (slang_function_scope *, slang_atom, int); slang_function *slang_function_scope_find (slang_function_scope *, slang_function *, int); -GLboolean _slang_build_export_code_table (slang_export_code_table *, slang_function_scope *, - struct slang_translation_unit_ *); +extern GLboolean +_slang_build_export_code_table (slang_export_code_table *, slang_function_scope *, + struct slang_code_unit_ *); #ifdef __cplusplus } |