twn_utils.c: make profiling public
This commit is contained in:
parent
597168c282
commit
34a3de73c6
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user