summaryrefslogtreecommitdiffstats
path: root/src/symutil.h
diff options
context:
space:
mode:
authorsagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2009-05-08 15:54:32 (GMT)
committersagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2009-05-08 15:54:32 (GMT)
commitd3adcbbc0c51ab693e7fcbd95569ffd548128d02 (patch)
tree2d821e16fcb0b09ae7c43629366499bd1a4dc33a /src/symutil.h
downloadcv2pdb-d3adcbbc0c51ab693e7fcbd95569ffd548128d02.zip
cv2pdb-d3adcbbc0c51ab693e7fcbd95569ffd548128d02.tar.gz
cv2pdb-d3adcbbc0c51ab693e7fcbd95569ffd548128d02.tar.bz2
Diffstat (limited to 'src/symutil.h')
-rw-r--r--src/symutil.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/symutil.h b/src/symutil.h
new file mode 100644
index 0000000..a055a7a
--- /dev/null
+++ b/src/symutil.h
@@ -0,0 +1,29 @@
+// Convert DMD CodeView debug information to PDB files
+// Copyright (c) 2009 by Rainer Schuetze, All Rights Reserved
+//
+// License for redistribution is given by the Artistic License 2.0
+// see file LICENSE for further details
+
+#ifndef __SYMUTIL_H__
+#define __SYMUTIL_H__
+
+#include <windows.h>
+
+struct p_string;
+
+int dsym2c(const BYTE* p, BYTE len, char* cname, int maxclen);
+
+char* p2c(const BYTE* p, int idx = 0);
+char* p2c(const p_string& p, int idx = 0);
+int p2ccpy(char* p, const BYTE* s);
+int pstrcpy(BYTE* p, const BYTE* s);
+int pstrcpy(p_string& p, const p_string& s);
+int pstrcmp(const BYTE* p1, const BYTE* p2);
+bool p2ccmp(const BYTE* pp, const char* cp);
+bool p2ccmp(const p_string& pp, const char* cp);
+int pstrcpy_v(bool v3, BYTE* d, const BYTE* s);
+int cstrcpy_v(bool v3, BYTE* d, const char* s);
+
+extern char dotReplacementChar;
+
+#endif //__SYMUTIL_H__ \ No newline at end of file