test.cpp gen_time compiles (has memory issues though)
This commit is contained in:
1 parent
f09fe6aa15
commit
d66c1e4eb4
13 files changed
+238
-264
No files matched your search
+16
-5
@@ -1,17 +1,28 @@
|
||||
#include "Bloat.cpp"
|
||||
#include "math.hpp"
|
||||
|
||||
|
||||
#ifdef gen_time
|
||||
u32 gen_main()
|
||||
{
|
||||
return gen_math();
|
||||
}
|
||||
|
||||
#include "gen.cpp"
|
||||
|
||||
int gen_main()
|
||||
{
|
||||
Memory::setup();
|
||||
|
||||
zpl_printf("\nPress any key after attaching to process\n");
|
||||
getchar();
|
||||
|
||||
int result = gen_math();
|
||||
|
||||
Memory::cleanup();
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef gen_time
|
||||
#include "math.hpp"
|
||||
|
||||
int main()
|
||||
{
|
||||
u32 result = square(5);
|
||||
|
||||
Reference in new issue
Block a user