2023-07-12 00:41:16 -07:00
|
|
|
#ifdef gen_time
|
|
|
|
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
|
|
|
#define GEN_FEATURE_PARSING
|
|
|
|
#include "gen.cpp"
|
2023-07-11 22:33:11 -07:00
|
|
|
#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
|
|
|
|
|
|
|
|
2023-04-01 22:07:44 -07:00
|
|
|
|
2023-04-23 19:53:30 -07:00
|
|
|
using namespace gen;
|
|
|
|
|
|
|
|
|
2023-04-01 22:07:44 -07:00
|
|
|
int gen_main()
|
2023-04-01 19:21:46 -07:00
|
|
|
{
|
2023-04-03 00:55:28 -07:00
|
|
|
gen::init();
|
2023-04-02 09:35:14 -07:00
|
|
|
|
2023-07-15 13:13:44 -07:00
|
|
|
gen_sanity_upfront();
|
2023-06-30 00:13:41 -07:00
|
|
|
|
|
|
|
gen_array( u8 );
|
2023-07-11 22:33:11 -07:00
|
|
|
gen_array( sw );
|
2023-06-28 11:43:21 -07:00
|
|
|
|
2023-06-30 10:56:31 -07:00
|
|
|
gen_buffer( u8 );
|
2023-06-30 12:11:49 -07:00
|
|
|
|
2023-06-30 21:23:40 -07:00
|
|
|
gen_hashtable( u32 );
|
|
|
|
|
2023-06-30 12:11:49 -07:00
|
|
|
gen_ring( s16 );
|
|
|
|
|
|
|
|
gen_array_file();
|
2023-06-30 10:56:31 -07:00
|
|
|
gen_buffer_file();
|
2023-06-30 21:23:40 -07:00
|
|
|
gen_hashtable_file();
|
2023-06-30 12:11:49 -07:00
|
|
|
gen_ring_file();
|
2023-06-30 10:56:31 -07:00
|
|
|
|
2023-05-08 17:54:24 -07:00
|
|
|
gen::deinit();
|
2023-04-22 21:43:31 -07:00
|
|
|
return 0;
|
2023-04-01 22:07:44 -07:00
|
|
|
}
|
2023-04-01 19:21:46 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2023-04-10 18:33:06 -07:00
|
|
|
#ifdef runtime
|
2023-04-01 19:21:46 -07:00
|
|
|
int main()
|
|
|
|
{
|
2023-04-09 11:51:37 -07:00
|
|
|
return 0;
|
2023-04-01 19:21:46 -07:00
|
|
|
}
|
|
|
|
#endif
|