Some const correctness in the Java pseudo core.

This commit is contained in:
2025-08-21 17:17:43 -04:00
parent 455169074a
commit b934b115ed
11 changed files with 35 additions and 23 deletions

View File

@ -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);