Revision: b982ab20f7e8
Author: Behdad Esfahbod <
beh...@behdad.org>
Date: Thu Apr 10 22:59:48 2014 UTC
Log: Remove extern inline
Fixes build with clang
http://code.google.com/p/glyphy/source/detail?r=b982ab20f7e8
Modified:
/demo/matrix4x4.c
/demo/matrix4x4.h
=======================================
--- /demo/matrix4x4.c Tue Apr 17 14:52:53 2012 UTC
+++ /demo/matrix4x4.c Thu Apr 10 22:59:48 2014 UTC
@@ -112,7 +112,7 @@
return m4Copy (mat, tmp);
}
-inline float
+float
m4Get (float *mat, unsigned int row, unsigned int col) {
return mat[4*row+col];
}
=======================================
--- /demo/matrix4x4.h Tue Apr 17 14:52:53 2012 UTC
+++ /demo/matrix4x4.h Thu Apr 10 22:59:48 2014 UTC
@@ -65,7 +65,7 @@
float *
m4MultMatrix (float *mat, const float *left);
-inline float
+float
m4Get (float *mat, unsigned int row, unsigned int col);
float *