projects
/
vkrt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed all c++
[vkrt]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
97abe8a
..
d4e9d71
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-3,6
+3,10
@@
#include <stdbool.h>
#include <stdbool.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
char *
sdr_load(const char *fname, int *sz);
char *
sdr_load(const char *fname, int *sz);
@@
-11,4
+15,8
@@
img_dump_rgba(const char *fname,
int w, int h,
unsigned char *data);
int w, int h,
unsigned char *data);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* UTIL_H */
#endif /* UTIL_H */