Added Virtual File System support
This commit is contained in:
parent
363c4f19cb
commit
01f4ad7f62
18 changed files with 4582 additions and 64 deletions
|
|
@ -503,7 +503,7 @@ buffer_t obstrAsBuf(obytestream_t *ctx) {
|
|||
}
|
||||
|
||||
void obstrWrite(obytestream_t *ctx, const void *buf, usize buflen) {
|
||||
uint8 *dst = alloc(ctx->arena, uint8, buflen);
|
||||
uint8 *dst = alloc(ctx->arena, uint8, buflen, ALLOC_NOZERO);
|
||||
memcpy(dst, buf, buflen);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue