gencpp/test/_old/upfront/test.upfront.cpp

50 lines
693 B
C++
Raw Normal View History

2023-07-19 00:13:12 -04:00
#ifdef GEN_TIME
#define GEN_FEATURE_PARSING
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
#define GEN_ENFORCE_STRONG_CODE_TYPES
#define GEN_EXPOSE_BACKEND
#define GEN_BENCHMARK
#include "gen.cpp"
#include "Array.Upfront.hpp"
#include "Buffer.Upfront.hpp"
#include "HashTable.Upfront.hpp"
#include "Ring.Upfront.hpp"
#include "Sanity.Upfront.hpp"
2023-04-01 22:21:46 -04:00
using namespace gen;
int gen_main()
2023-04-01 22:21:46 -04:00
{
gen::init();
gen_sanity_upfront();
gen_array( u8 );
gen_array( ssize );
2023-06-30 13:56:31 -04:00
gen_buffer( u8 );
gen_hashtable( u32 );
gen_ring( s16 );
gen_array_file();
2023-06-30 13:56:31 -04:00
gen_buffer_file();
gen_hashtable_file();
gen_ring_file();
2023-06-30 13:56:31 -04:00
2023-05-08 20:54:24 -04:00
gen::deinit();
2023-04-23 00:43:31 -04:00
return 0;
}
2023-04-01 22:21:46 -04:00
#endif
#ifdef runtime
2023-04-01 22:21:46 -04:00
int main()
{
return 0;
2023-04-01 22:21:46 -04:00
}
#endif