more constness for stralloc and buffer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user