/* global state */
void cmesh_set_attrib_sdrloc(int attr, int loc);
int cmesh_get_attrib_sdrloc(int attr);
/* global state */
void cmesh_set_attrib_sdrloc(int attr, int loc);
int cmesh_get_attrib_sdrloc(int attr);
int cmesh_dump_obj(const struct cmesh *cm, const char *fname);
int cmesh_dump_obj_file(const struct cmesh *cm, FILE *fp, int voffs);
int cmesh_dump_obj(const struct cmesh *cm, const char *fname);
int cmesh_dump_obj_file(const struct cmesh *cm, FILE *fp, int voffs);