mirror of /home/gitosis/repositories/libowfat.git
parent
6a74a47988
commit
083dc555f3
@ -1,6 +1,6 @@
|
||||
#include "stralloc.h"
|
||||
#include "buffer.h"
|
||||
|
||||
void buffer_fromsa(buffer* b,stralloc* sa) {
|
||||
void buffer_fromsa(buffer* b,const stralloc* sa) {
|
||||
buffer_frombuf(b,sa->s,sa->len);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "stralloc.h"
|
||||
#include "buffer.h"
|
||||
|
||||
int buffer_putsa(buffer* b,stralloc* sa) {
|
||||
int buffer_putsa(buffer* b,const stralloc* sa) {
|
||||
return buffer_put(b,sa->s,sa->len);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "stralloc.h"
|
||||
#include "buffer.h"
|
||||
|
||||
int buffer_putsaflush(buffer* b,stralloc* sa) {
|
||||
int buffer_putsaflush(buffer* b,const stralloc* sa) {
|
||||
return buffer_putflush(b,sa->s,sa->len);
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "stralloc.h"
|
||||
#include "str.h"
|
||||
|
||||
extern int stralloc_cat(stralloc *sa,stralloc *sa2) {
|
||||
extern int stralloc_cat(stralloc *sa,const stralloc *sa2) {
|
||||
return stralloc_catb(sa,sa2->s,sa2->len);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in new issue