more constness for stralloc and buffer

This commit is contained in:
leitner
2015-02-04 02:57:56 +00:00
parent 38ea25fd9f
commit ed93e203a1
11 changed files with 18 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ buffer_fromsa \- initialize buffer structure from stralloc
.SH SYNTAX
.B #include <buffer.h>
void \fBbuffer_fromsa\fR(buffer* \fIb\fR,stralloc* \fIsa\fR);
void \fBbuffer_fromsa\fR(buffer* \fIb\fR,const stralloc* \fIsa\fR);
.SH DESCRIPTION
buffer_fromsa makes a virtual read buffer from a stralloc. The buffer
reading functions will be able to read until the end of the data in the