Skip to content

Commit 7fc6d3f

Browse files
authored
Merge pull request #45 from prideout/patch-3
Fix include guard.
2 parents f8b72a6 + 670b867 commit 7fc6d3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cgltf.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,10 @@ void cgltf_free(cgltf_data* data);
462462
void cgltf_node_transform_local(const cgltf_node* node, cgltf_float* out_matrix);
463463
void cgltf_node_transform_world(const cgltf_node* node, cgltf_float* out_matrix);
464464

465+
#ifdef __cplusplus
466+
}
467+
#endif
468+
465469
#endif /* #ifndef CGLTF_H_INCLUDED__ */
466470

467471
/*
@@ -4266,10 +4270,6 @@ static void jsmn_init(jsmn_parser *parser) {
42664270

42674271
#endif /* #ifdef CGLTF_IMPLEMENTATION */
42684272

4269-
#ifdef __cplusplus
4270-
}
4271-
#endif
4272-
42734273
/* cgltf is distributed under MIT license:
42744274
*
42754275
* Copyright (c) 2018 Johannes Kuhlmann

0 commit comments

Comments
 (0)