slang_utility.h File Reference
Go to the source code of this file.
Data Structures |
| struct | slang_string |
| struct | slang_atom_entry |
| struct | slang_atom_pool |
Defines |
| #define | static_assert(expr) do { int _array[(expr) ? 1 : -1]; (void) _array[0]; } while (0) |
| #define | slang_string_compare(str1, str2) _mesa_strcmp (str1, str2) |
| #define | slang_string_copy(dst, src) _mesa_strcpy (dst, src) |
| #define | slang_string_length(str) _mesa_strlen (str) |
| #define | SLANG_ATOM_NULL ((slang_atom) 0) |
| #define | SLANG_ATOM_POOL_SIZE 1023 |
Typedefs |
| typedef GLvoid * | slang_atom |
Functions |
| char * | slang_string_concat (char *, const char *) |
| GLvoid | slang_string_init (slang_string *) |
| GLvoid | slang_string_free (slang_string *) |
| GLvoid | slang_string_reset (slang_string *) |
| GLvoid | slang_string_push (slang_string *, const slang_string *) |
| GLvoid | slang_string_pushc (slang_string *, const char) |
| GLvoid | slang_string_pushs (slang_string *, const char *, GLuint) |
| GLvoid | slang_string_pushi (slang_string *, GLint) |
| const char * | slang_string_cstr (slang_string *) |
| GLvoid | slang_atom_pool_construct (slang_atom_pool *) |
| GLvoid | slang_atom_pool_destruct (slang_atom_pool *) |
| slang_atom | slang_atom_pool_atom (slang_atom_pool *, const char *) |
| const char * | slang_atom_pool_id (slang_atom_pool *, slang_atom) |