diff --git a/include/twn_util.h b/include/twn_util.h index 67246ff..14c532c 100644 --- a/include/twn_util.h +++ b/include/twn_util.h @@ -84,4 +84,8 @@ TWN_API void log_vec2(Vec2 vector, char const *message); TWN_API void log_vec3(Vec3 vector, char const *message); TWN_API void log_rect(Rect rect, char const *message); +TWN_API void profile_start(char profile[const static 1]); +TWN_API void profile_end(char profile[const static 1]); +TWN_API void profile_list_stats(void); + #endif diff --git a/src/twn_util_c.h b/src/twn_util_c.h index 8beb33e..c867ea3 100644 --- a/src/twn_util_c.h +++ b/src/twn_util_c.h @@ -23,10 +23,6 @@ _Noreturn void die_abruptly(void); /* note: you must free the returned string */ char *expand_asterisk(const char *mask, const char *to); -void profile_start(char profile[const static 1]); -void profile_end(char profile[const static 1]); -void profile_list_stats(void); - /* http://www.azillionmonkeys.com/qed/sqroot.html */ static inline float fast_sqrt(float x) {