(MOD) Implemented Array_Create, Array_CopyOf and Array_Delete
(MOD) Replaced project compiler from "gcc" with "clang" due to out-of-order execution keep happening after running with Array. (MOD) Removed certain functions from Utils due to insufficiencies of usage. (MOD) Defined 1 more macro "fail". (MOD) Fixed 1 bug from "var.c": Struct member "alive" was not under supervision from the entire programme cycle. (MOD) Removed 1 useless usage for "Utils_LiteraliseInteger". (MOD) Removed 1 useless block of commented code.
This commit is contained in:
7
common.h
7
common.h
@@ -1,10 +1,6 @@
|
||||
#ifndef COMPOUND_COMMON_H
|
||||
# define COMPOUND_COMMON_H
|
||||
|
||||
# ifdef __DEBUG__
|
||||
# warning DEBUG IS ON
|
||||
# endif /* __DEBUG__ */
|
||||
|
||||
# include <stdlib.h>
|
||||
# include <stdbool.h>
|
||||
|
||||
@@ -43,6 +39,9 @@
|
||||
/* Return e when passing a failing e commented with c. */
|
||||
# define fails(e, c) { notok(e, return apply(annot(_, c));) }
|
||||
|
||||
/* Return e when passing a failing e. */
|
||||
# define fail(e) { notok(e, return apply(_);) }
|
||||
|
||||
/* Return v when passing a failing e. */
|
||||
# define vfail(e, v) { notok(e, return v;) }
|
||||
|
||||
|
Reference in New Issue
Block a user