osuplusplus/include/osuparser.hpp

31 lines
514 B
C++

#pragma once
#ifndef PP_DEBUG
#include <filesystem>
#include <config.hpp>
#endif
namespace fs = std::filesystem;
#define CONFIG(name, ...) name parse##name(fs::path configPath);
#define ENUM(name, ...)
#define STRUCT_INPUT_STREAM_OP(name, ...)
#define STRUCT_OUTPUT_STREAM_OP(name, ...)
#define STRUCT_STREAM_OPS(name, ...)
#define STRUCT(name, ...)
#include <config_def.hpp>
#undef CONFIG
#undef ENUM
#undef STRUCT_INPUT_STREAM_OP
#undef STRUCT_OUTPUT_STREAM_OP
#undef STRUCT_STREAM_OPS
#undef STRUCT