Robert Bragg 097d282b32 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>

(cherry picked from commit 465b39a764f2720e77678cafa56acb0e69007ffd)
2012-08-06 14:27:39 +01:00
..
2012-04-05 13:47:36 +01:00
2012-08-06 14:27:38 +01:00
2012-08-06 14:27:38 +01:00
2012-08-06 14:27:39 +01:00
2012-03-23 13:51:08 +00:00
2012-08-06 14:27:38 +01:00
2012-08-06 14:27:39 +01:00
2012-03-23 13:51:08 +00:00
2012-04-12 12:31:46 +01:00
2012-04-12 12:31:46 +01:00
2012-08-06 14:27:39 +01:00
2012-03-14 12:19:56 +00:00
2012-04-12 12:31:46 +01:00
2012-08-06 14:27:38 +01:00