[glyphy] push by behdad@google.com - Remove extern inline... on 2014-04-10 23:00 GMT

4 views
Skip to first unread message

gly...@googlecode.com

unread,
Apr 10, 2014, 7:00:11 PM4/10/14
to gly...@googlegroups.com
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 *
Reply all
Reply to author
Forward
0 new messages