X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fcmesh.h;h=149e1889eccfc410e1b0e8248e83ca3384df336f;hb=HEAD;hp=9c12d0105d14d279d7220c37535578aaeb269321;hpb=59a8deae3d561aa3797a6bf25c76803fe098cdf0;p=meshfrac diff --git a/src/cmesh.h b/src/cmesh.h index 9c12d01..149e188 100644 --- a/src/cmesh.h +++ b/src/cmesh.h @@ -19,6 +19,10 @@ enum { struct cmesh; +#ifdef __cplusplus +extern "C" { +#endif + /* global state */ void cmesh_set_attrib_sdrloc(int attr, int loc); int cmesh_get_attrib_sdrloc(int attr); @@ -134,6 +138,9 @@ int cmesh_dump_file(const struct cmesh *cm, FILE *fp); int cmesh_dump_obj(const struct cmesh *cm, const char *fname); int cmesh_dump_obj_file(const struct cmesh *cm, FILE *fp, int voffs); +#ifdef __cplusplus +} +#endif #endif /* CMESH_H_ */