diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-04-16 17:23:15 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-04-18 14:24:01 +0100 |
commit | 465b39a764f2720e77678cafa56acb0e69007ffd (patch) | |
tree | 70acfa5acba12273f12b1c822875d0ac4d55eed0 /tests/conform/test-multitexture.c | |
parent | 5b785dd441a83024333e0a2f2b83d067f891194f (diff) | |
download | cogl-465b39a764f2720e77678cafa56acb0e69007ffd.tar.gz |
Add _COGL_STATIC_ASSERT macro
This adds a _COGL_STATIC_ASSERT macro that can be used for compile time
assertions in C code. If supported by the compiler this macro uses
_Static_assert so that a message can be printed out if the assertion
fails.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'tests/conform/test-multitexture.c')
0 files changed, 0 insertions, 0 deletions