glsl/types: Expose the function_param and struct_field structs to C

Previously, they were hidden behind a #ifdef __cplusplus so C wouldn't find
them.  This commit simpliy moves the ifdef.
This commit is contained in:
Jason Ekstrand 2015-04-29 14:48:12 -07:00
parent 053778c493
commit fe550f0738

View file

@ -742,6 +742,10 @@ private:
/*@}*/
};
#undef DECL_TYPE
#undef STRUCT_TYPE
#endif /* __cplusplus */
struct glsl_struct_field {
const struct glsl_type *type;
const char *name;
@ -798,8 +802,4 @@ glsl_align(unsigned int a, unsigned int align)
return (a + align - 1) / align * align;
}
#undef DECL_TYPE
#undef STRUCT_TYPE
#endif /* __cplusplus */
#endif /* GLSL_TYPES_H */