summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/formattype.cpp8
-rw-r--r--src/inc/formattype.h4
2 files changed, 8 insertions, 4 deletions
diff --git a/src/inc/formattype.cpp b/src/inc/formattype.cpp
index e7d1394020..05b4c86247 100644
--- a/src/inc/formattype.cpp
+++ b/src/inc/formattype.cpp
@@ -11,7 +11,7 @@
#include "formattype.h"
/******************************************************************************/
-static char* asString(CQuickBytes *out) {
+char* asString(CQuickBytes *out) {
CONTRACTL
{
THROWS;
@@ -27,7 +27,7 @@ static char* asString(CQuickBytes *out) {
return((char*) out->Ptr());
}
-static void appendStr(CQuickBytes *out, const char* str, unsigned len=(unsigned)-1) {
+void appendStr(CQuickBytes *out, const char* str, unsigned len) {
CONTRACTL
{
THROWS;
@@ -43,7 +43,7 @@ static void appendStr(CQuickBytes *out, const char* str, unsigned len=(unsigned)
// Note no trailing null!
}
-static void appendChar(CQuickBytes *out, char chr) {
+void appendChar(CQuickBytes *out, char chr) {
CONTRACTL
{
THROWS;
@@ -57,7 +57,7 @@ static void appendChar(CQuickBytes *out, char chr) {
// Note no trailing null!
}
-static void insertStr(CQuickBytes *out, const char* str) {
+void insertStr(CQuickBytes *out, const char* str) {
CONTRACTL
{
THROWS;
diff --git a/src/inc/formattype.h b/src/inc/formattype.h
index 8f009c664e..739bc89dd4 100644
--- a/src/inc/formattype.h
+++ b/src/inc/formattype.h
@@ -31,6 +31,10 @@ char* DumpParamAttr(__inout_ecount(cchszString) char* szString,
DWORD cchszString,
DWORD dwAttr);
+void appendStr(CQuickBytes *out, const char* str, unsigned len=(unsigned)-1);
+void insertStr(CQuickBytes *out, const char* str);
+char* asString(CQuickBytes *out);
+
const char* PrettyPrintSig(
PCCOR_SIGNATURE typePtr, // type to convert,
unsigned typeLen, // the lenght of 'typePtr'