mirror of
https://github.com/Ed94/gencpp.git
synced 2024-11-10 02:54:53 -08:00
50 lines
682 B
C++
50 lines
682 B
C++
#ifdef gen_time
|
|
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
|
#define GEN_FEATURE_PARSING
|
|
#include "gen.cpp"
|
|
#include "Upfront\Array.Upfront.hpp"
|
|
#include "Upfront\Buffer.Upfront.hpp"
|
|
#include "Upfront\HashTable.Upfront.hpp"
|
|
#include "Upfront\Ring.Upfront.hpp"
|
|
#include "Upfront\Sanity.Upfront.hpp"
|
|
|
|
|
|
|
|
using namespace gen;
|
|
|
|
|
|
int gen_main()
|
|
{
|
|
Memory::setup();
|
|
gen::init();
|
|
|
|
gen_sanity_upfront();
|
|
|
|
gen_array( u8 );
|
|
gen_array( sw );
|
|
|
|
gen_buffer( u8 );
|
|
|
|
gen_hashtable( u32 );
|
|
|
|
gen_ring( s16 );
|
|
|
|
gen_array_file();
|
|
gen_buffer_file();
|
|
gen_hashtable_file();
|
|
gen_ring_file();
|
|
|
|
gen::deinit();
|
|
Memory::cleanup();
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
|
|
#ifdef runtime
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|