summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corestr.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-09-10 08:04:08 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-09-10 08:04:08 +0000
commit834ef9bf470a90ec47044288de327962625c7e23 (patch)
treef80918d58034f311e029b5529f3971de503d619f /src/lib/util/corestr.h
parent90cda3eb3224bf25c81374067c8be29515b59f0c (diff)
Added helper function core_i64_hex_format. Replaced several printf cases in the debugger
with this function to avoid runtime differences on older Windows systems.
Diffstat (limited to 'src/lib/util/corestr.h')
-rw-r--r--src/lib/util/corestr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h
index aa5fe216e6a..a8e01a9ca8e 100644
--- a/src/lib/util/corestr.h
+++ b/src/lib/util/corestr.h
@@ -14,6 +14,7 @@
#ifndef __CORESTR_H__
#define __CORESTR_H__
+#include "osdcore.h"
#include <string.h>
@@ -57,4 +58,8 @@ char *core_strdup(const char *str);
int core_strwildcmp(const char *sp1, const char *sp2);
+/* I64 printf helper */
+char *core_i64_hex_format(UINT64 value, UINT8 mindigits);
+
+
#endif /* __CORESTR_H__ */