6 typedef struct vg_tex2d vg_tex2d
;
14 #define vg_static_assert _Static_assert
15 #define VG_MUST_USE_RESULT __attribute__((warn_unused_result))
47 typedef unsigned int uint
;
60 /* anything compiled against VG shall implement this function somewhere. */
61 void vg_fatal_error( const char *fmt
, ... );
63 #define VG_MIN( A, B ) ((A)<(B)?(A):(B))
64 #define VG_MAX( A, B ) ((A)>(B)?(A):(B))
65 #define vg_list_size( A ) (sizeof(A)/sizeof(A[0]))