X-Git-Url: https://eleni.mutantstargoat.com/git/?p=vkrt;a=blobdiff_plain;f=src%2Futil.h;h=d4e9d7155b968ff21881ea4f704bc8d3acef87b7;hp=97abe8a698f8157f01cea65b7b7a6072d6610af6;hb=8d3a8ecaf4f20ed8c460ab75724c7bf8363e905a;hpb=c19f01fbe275b5e619e3c4112fe6b32af9bb2713 diff --git a/src/util.h b/src/util.h index 97abe8a..d4e9d71 100644 --- a/src/util.h +++ b/src/util.h @@ -3,6 +3,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + 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); +#ifdef __cplusplus +} +#endif + #endif /* UTIL_H */