example fun example shows benefit of header only library

This commit is contained in:
jalec
2012-01-25 17:46:57 +00:00
parent be547447d4
commit fec8188906
+4
View File
@@ -8,5 +8,9 @@ int main(int argc, char * argv[])
example_fun(d);
int i = 4;
example_fun(i);
#ifdef IGL_HEADER_ONLY
const char * s = "string";
example_fun(s);
#endif
return 0;
}