From f8371a93099b063d3b57f33a31ce9bc9a298d90c Mon Sep 17 00:00:00 2001 From: cncsmonster Date: Mon, 5 Aug 2024 12:54:41 +0800 Subject: [PATCH] fix --- .../{sy_fixing => sy}/36_rotate.sy | 0 .../{sy_fixing => sy}/37_dct.sy | 0 .../{sy_fixing => sy}/38_light2d.sy | 0 hidden_functional_c/sy_fixing/sylib.h | 31 ------------------- 4 files changed, 31 deletions(-) rename hidden_functional_c/{sy_fixing => sy}/36_rotate.sy (100%) rename hidden_functional_c/{sy_fixing => sy}/37_dct.sy (100%) rename hidden_functional_c/{sy_fixing => sy}/38_light2d.sy (100%) delete mode 100644 hidden_functional_c/sy_fixing/sylib.h diff --git a/hidden_functional_c/sy_fixing/36_rotate.sy b/hidden_functional_c/sy/36_rotate.sy similarity index 100% rename from hidden_functional_c/sy_fixing/36_rotate.sy rename to hidden_functional_c/sy/36_rotate.sy diff --git a/hidden_functional_c/sy_fixing/37_dct.sy b/hidden_functional_c/sy/37_dct.sy similarity index 100% rename from hidden_functional_c/sy_fixing/37_dct.sy rename to hidden_functional_c/sy/37_dct.sy diff --git a/hidden_functional_c/sy_fixing/38_light2d.sy b/hidden_functional_c/sy/38_light2d.sy similarity index 100% rename from hidden_functional_c/sy_fixing/38_light2d.sy rename to hidden_functional_c/sy/38_light2d.sy diff --git a/hidden_functional_c/sy_fixing/sylib.h b/hidden_functional_c/sy_fixing/sylib.h deleted file mode 100644 index 9bc489f..0000000 --- a/hidden_functional_c/sy_fixing/sylib.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef __SYLIB_H_ -#define __SYLIB_H_ - -#include -#include -#include -/* Input & output functions */ -int getint(), getch(), getarray(int a[]); -float getfloat(); -int getfarray(float a[]); - -void putint(int a), putch(int a), putarray(int n, int a[]); -void putfloat(float a); -void putfarray(int n, float a[]); - -void putf(char a[], ...); - -/* Timing function implementation */ -struct timeval _sysy_start, _sysy_end; -#define starttime() _sysy_starttime(__LINE__) -#define stoptime() _sysy_stoptime(__LINE__) -#define _SYSY_N 1024 -int _sysy_l1[_SYSY_N], _sysy_l2[_SYSY_N]; -int _sysy_h[_SYSY_N], _sysy_m[_SYSY_N], _sysy_s[_SYSY_N], _sysy_us[_SYSY_N]; -int _sysy_idx; -__attribute((constructor)) void before_main(); -__attribute((destructor)) void after_main(); -void _sysy_starttime(int lineno); -void _sysy_stoptime(int lineno); - -#endif