aboutsummaryrefslogblamecommitdiff
path: root/utils/math.h
blob: edfb9ee5a23b7dbae115c8c31b1c97d3f1adecc8 (plain) (tree)




























                                                                                
#ifndef __MATH_H_
#define __MATH_H_

/* Suppress unused parameter warnings */
#ifdef __GNUC__
#    define UNUSED(x) UNUSED_##x __attribute__((__unused__))
#else
#    define UNUSED(x) UNUSED_##x
#endif

/* Fallthrough pseudo-keyword macro */
#if __has_attribute(__fallthrough__)
#    define fallthrough __attribute__((__fallthrough__))
#else
#    define fallthrough                                                        \
        do {                                                                   \
        } while (0) /* fallthrough */
#endif

#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define FILE_NAME    "bc_input.bc"
#define TIMEOUT      5

/* Signal handlers */
void timeout_hander(int sig);
void child_handler(int sig);

#endif
s'>+5 2020-09-19 modified: custom_commands.jsonAnInternetTroll1-4/+9 2020-09-12Update utils.pyLuca Matei Pintilie1-1/+1 2020-09-12Update utils.pyLuca Matei Pintilie1-1/+1 2020-09-12Duplicate filter now checks for equal valuesMango0x451-11/+16 2020-09-12Black is neatMango0x4511-1616/+1783 2020-09-12actions are assMango0x451-20/+0 2020-09-12Testy testMango0x451-3/+1 2020-09-12if this doesnt work im doneThomas Voss1-1/+1 2020-09-12Github actions testMango0x451-1/+1 2020-09-12Make action work on pushMango0x451-0/+2 2020-09-12Testing github actionMango0x451-328/+333 2020-09-12I hope this worksMango0x451-10/+14 2020-09-12Harvested more user dataMango0x451-380/+385 2020-09-12pls fixMango0x451-1/+1 2020-09-12Action fixMango0x451-1/+1