gencpp/test/test.Upfront.cpp

49 lines
625 B
C++
Raw Normal View History

#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"
2023-04-01 19:21:46 -07:00
#ifdef gen_time
#include "gen.cpp"
using namespace gen;
int gen_main()
2023-04-01 19:21:46 -07:00
{
Memory::setup();
gen::init();
gen_sanity();
gen_array( u8 );
gen_array( sw );
2023-06-30 10:56:31 -07:00
gen_buffer( u8 );
gen_hashtable( u32 );
gen_ring( s16 );
gen_array_file();
2023-06-30 10:56:31 -07:00
gen_buffer_file();
gen_hashtable_file();
gen_ring_file();
2023-06-30 10:56:31 -07:00
2023-05-08 17:54:24 -07:00
gen::deinit();
Memory::cleanup();
2023-04-22 21:43:31 -07:00
return 0;
}
2023-04-01 19:21:46 -07:00
#endif
#ifdef runtime
2023-04-01 19:21:46 -07:00
int main()
{
return 0;
2023-04-01 19:21:46 -07:00
}
#endif