Skip to content
Browse files
Added STATICARRAYLEN macro to mojoshader_opengl.c ...
branch : trunk
  • Loading branch information
icculus committed Apr 27, 2008
1 parent ac94a2d commit 107162bc8ecd92df4fdc0a24383c499651170776

File 1 of 1 in 107162b

@@ -72,6 +72,8 @@ void MOJOSHADER_glSetVertexDeclaration(MOJOSHADER_usage usage, int index,

// Get basic wankery out of the way here...

#define STATICARRAYLEN(x) ( (sizeof ((x))) / (sizeof ((x)[0])) )

typedef unsigned int uint; // this is a printf() helper. don't use for code.
typedef uint8_t uint8;
typedef uint32_t uint32;

0 comments on commit 107162b

Please sign in to comment.