Add const correctness to public interfaces
Gerard Krol, g dot c dot krol at student dot tudelft dot nl Update version number to 0.9 git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@27 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
1 parent
436aa98d67
commit
68cafad078
9 files changed
+54
-50
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ struct printbuf* printbuf_new()
|
||||
}
|
||||
|
||||
|
||||
int printbuf_memappend(struct printbuf *p, char *buf, int size)
|
||||
int printbuf_memappend(struct printbuf *p, const char *buf, int size)
|
||||
{
|
||||
char *t;
|
||||
if(p->size - p->bpos <= size) {
|
||||
|
||||
Reference in new issue
Block a user