muon/include/lang/serial.h
2022-11-05 13:40:56 -04:00

15 lines
405 B
C

/*
* SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
* SPDX-License-Identifier: GPL-3.0-only
*/
#ifndef MUON_LANG_SERIAL_H
#define MUON_LANG_SERIAL_H
#include "lang/workspace.h"
bool serial_dump(struct workspace *wk_src, obj o, FILE *f);
bool serial_load(struct workspace *wk, obj *res, FILE *f);
bool serial_load_from_private_dir(struct workspace *wk, obj *res, const char *file);
#endif