Skip to content

Commit

Permalink
Moved implementation outside of the header guard
Browse files Browse the repository at this point in the history
  • Loading branch information
sikailud committed Aug 8, 2024
1 parent 347a8eb commit d1b5e37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tinyobj_loader_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ extern void tinyobj_materials_free(tinyobj_material_t *materials,
#ifdef __cplusplus
}
#endif
#endif /* TINOBJ_LOADER_C_H_ */

#ifdef TINYOBJ_LOADER_C_IMPLEMENTATION
#include <stdio.h>
Expand Down Expand Up @@ -1732,5 +1733,3 @@ void tinyobj_materials_free(tinyobj_material_t *materials,
TINYOBJ_FREE(materials);
}
#endif /* TINYOBJ_LOADER_C_IMPLEMENTATION */

#endif /* TINOBJ_LOADER_C_H_ */

0 comments on commit d1b5e37

Please sign in to comment.