mirror of
https://github.com/Ed94/gencpp.git
synced 2024-09-20 19:27:33 -07:00
Ed_
7828e6d2ea
Made token_fmt more ergonomic, going to have to use a similar behavior with the upfront body constructors.
49 lines
625 B
C++
49 lines
625 B
C++
#include "Bloat.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"
|
|
|
|
|
|
#ifdef gen_time
|
|
#include "gen.cpp"
|
|
|
|
using namespace gen;
|
|
|
|
|
|
int gen_main()
|
|
{
|
|
Memory::setup();
|
|
gen::init();
|
|
|
|
gen_sanity();
|
|
|
|
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
|