Some const correctness in the Java pseudo core.
This commit is contained in:
@ -581,7 +581,7 @@ public:
|
||||
inline void append(const char *str) { appendNoCopy(dStrdup(str)); }
|
||||
inline void appendInt(int n)
|
||||
{ char buf[32]; sprintf (buf, "%d", n); append (buf); }
|
||||
inline void appendPointer(void *p)
|
||||
inline void appendPointer(const void *p)
|
||||
{ char buf[32]; sprintf (buf, "%p", p); append (buf); }
|
||||
inline void appendBool(bool b) { append (b ? "true" : "false"); }
|
||||
void appendNoCopy(char *str);
|
||||
|
||||
Reference in New Issue
Block a user