1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2026-08-15 11:00:07 -04:00

Main: rename package "file" to "io"

This commit is contained in:
Alex Kotov 2022-06-14 15:03:17 +03:00
parent a769944005
commit 7da885e370
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
22 changed files with 56 additions and 55 deletions

23
src/io.c Normal file
View file

@ -0,0 +1,23 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <kernaux/assert.h>
#include <kernaux/io.h>
#include <stddef.h>
struct KernAux_File KernAux_File_create(const KernAux_File_Out out)
{
struct KernAux_File file;
KernAux_File_init(&file, out);
return file;
}
void KernAux_File_init(const KernAux_File file, const KernAux_File_Out out)
{
KERNAUX_ASSERT(file);
KERNAUX_ASSERT(out);
file->out = out;
}