51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
|
// This file was generated automatially by gencpp's bootstrap.cpp (See: https://github.com/Ed94/gencpp)
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "gen.hpp"
|
||
|
|
||
|
#ifdef __clang__
|
||
|
#pragma clang diagnostic push
|
||
|
#pragma clang diagnostic ignored "-Wunused-const-variable"
|
||
|
#pragma clang diagnostic ignored "-Wswitch"
|
||
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
||
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||
|
#pragma clang diagnostic ignored "-Wvarargs"
|
||
|
#pragma clang diagnostic ignored "-Wunused-function"
|
||
|
#endif
|
||
|
|
||
|
#ifdef __GNUC__
|
||
|
#pragma GCC diagnostic push
|
||
|
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
||
|
#pragma GCC diagnostic ignored "-Wcomment"
|
||
|
#pragma GCC diagnostic ignored "-Wswitch"
|
||
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||
|
#endif
|
||
|
|
||
|
GEN_NS_BEGIN
|
||
|
|
||
|
struct Builder
|
||
|
{
|
||
|
FileInfo File;
|
||
|
String Buffer;
|
||
|
|
||
|
static Builder open( char const* path );
|
||
|
|
||
|
void pad_lines( s32 num );
|
||
|
|
||
|
void print( Code );
|
||
|
void print_fmt( char const* fmt, ... );
|
||
|
|
||
|
void write();
|
||
|
};
|
||
|
|
||
|
GEN_NS_END
|
||
|
|
||
|
#ifdef __clang__
|
||
|
#pragma clang diagnostic pop
|
||
|
#endif
|
||
|
|
||
|
#ifdef __GNUC__
|
||
|
#pragma GCC diagnostic pop
|
||
|
#endif
|