stralloc* not const char*

master
leitner 16 years ago
parent 1e549e9ee2
commit bb1bebe517

@ -6,7 +6,7 @@ buffer_putsa \- write stralloc to buffer
.B #include <stralloc.h> .B #include <stralloc.h>
.B #include <buffer.h> .B #include <buffer.h>
int \fBbuffer_putsa\fP(buffer* \fIb\fR,const char* \fIx\fR); int \fBbuffer_putsa\fP(buffer* \fIb\fR,stralloc* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION
buffer_putsa is equivalent to buffer_put(b,x.sa,x.len). buffer_putsa is equivalent to buffer_put(b,x.sa,x.len).
.SH "RETURN VALUE" .SH "RETURN VALUE"

Loading…
Cancel
Save