Compare commits
24 Commits
storageonl
...
3f0907daa2
Author | SHA1 | Date | |
---|---|---|---|
3f0907daa2 | |||
22db5f0cbc | |||
43afe62ad1 | |||
772a79ce03 | |||
5e05e24e38 | |||
b9c5bfbc00 | |||
acaa38099f | |||
5026f03692 | |||
55d9ddef39 | |||
092dddf6c4 | |||
242fcce951 | |||
bc3fd9dfad | |||
f88b2b5b02 | |||
acad934238 | |||
|
bcbec01992 | ||
|
6583335dd6 | ||
|
09076d0d00 | ||
|
31a997c170 | ||
|
794ff14602 | ||
|
b316c0e5ee | ||
|
69d827c38e | ||
|
871bab317b | ||
|
73e766eef7 | ||
1c611ec4e2 |
8
.gitignore
vendored
8
.gitignore
vendored
@@ -2,7 +2,6 @@
|
||||
*CMakeFiles/*
|
||||
*CMakeCache*
|
||||
cmake_install.cmake
|
||||
*[tT]est*
|
||||
*~
|
||||
gitwork
|
||||
work
|
||||
@@ -13,14 +12,13 @@ todo_stack
|
||||
getReady.sh
|
||||
base_type.c
|
||||
sample
|
||||
<<<<<<< HEAD
|
||||
compile
|
||||
=======
|
||||
>>>>>>> refs/remotes/master/master
|
||||
.vscode/
|
||||
todo
|
||||
vsc*
|
||||
libcompound.so
|
||||
ccwarn
|
||||
CMakeLists_default.txt
|
||||
CompoundTest
|
||||
ccwarn
|
||||
genwarn.sh
|
||||
test.sh
|
||||
|
@@ -5,16 +5,16 @@ project (Compound)
|
||||
set(CMAKE_C_COMPILER gcc)
|
||||
|
||||
set(WALL -Waddress
|
||||
-Warray-compare
|
||||
# -Warray-compare
|
||||
-Warray-parameter=2
|
||||
-Wbool-compare
|
||||
-Wbool-operation
|
||||
-Wchar-subscripts
|
||||
-Wcomment
|
||||
-Wdangling-else
|
||||
-Wdangling-pointer=2
|
||||
# -Wdangling-pointer=2
|
||||
-Wenum-compare
|
||||
-Wenum-int-mismatch
|
||||
# -Wenum-int-mismatch
|
||||
-Wformat=1
|
||||
-Wformat-contains-nul
|
||||
-Wformat-diag
|
||||
@@ -26,7 +26,7 @@ set(WALL -Waddress
|
||||
-Wimplicit
|
||||
-Wimplicit-function-declaration
|
||||
-Wimplicit-int
|
||||
-Winfinite-recursion
|
||||
# -Winfinite-recursion
|
||||
-Wint-in-bool-context
|
||||
-Wlogical-not-parentheses
|
||||
-Wmain
|
||||
@@ -65,7 +65,7 @@ set(WALL -Waddress
|
||||
-Wunused-local-typedefs
|
||||
-Wunused-value
|
||||
-Wunused-variable
|
||||
-Wuse-after-free=2
|
||||
# -Wuse-after-free=2
|
||||
-Wvla-parameter
|
||||
-Wvolatile-register-var
|
||||
-Wzero-length-bounds
|
||||
|
BIN
Status/StatusTest
Executable file
BIN
Status/StatusTest
Executable file
Binary file not shown.
@@ -76,7 +76,7 @@ typedef struct _Status {
|
||||
# define LOCATION_LITERALISE_FORMAT "at %s:%d, in function `%s\'"
|
||||
|
||||
# define STATUS_LITERALISE_FORMAT \
|
||||
"%s: \"%s\"\n\tpredecessor=<%s> value=(%d) characteristic=[%d]\n\t%s\n"
|
||||
"%s: \"%s\"\n\tpredecessor=<%s> value=(%d) characteristic=(%d)\n\t%s\n"
|
||||
|
||||
typedef enum {
|
||||
REPORT_SENDING_PRIORITY_ALL = 0, // Highest level; least value.
|
||||
@@ -420,7 +420,10 @@ static inline void PrintStatusDump(Status s)
|
||||
|
||||
/* Output by iterating. */
|
||||
for (register int i = 0; i < dump_len; i++) {
|
||||
/* Print out indexer. */
|
||||
(void)printf("\e[1m[%d/%d]\e[0m", (dump_len - i), dump_len);
|
||||
|
||||
/* Print dumped status. */
|
||||
unsure(PrintStatus(dump[i]), !_.value, {
|
||||
(void)fprintf(stderr, "Unable to literalise.\n");
|
||||
})
|
||||
|
213
Status/status_test.c
Normal file
213
Status/status_test.c
Normal file
@@ -0,0 +1,213 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <Compound/status.h>
|
||||
|
||||
int main(void) {
|
||||
|
||||
Status Example1Status = {.description = "Example1 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &NormalStatus};
|
||||
Status Example2Status = {.description = "Example2 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example1Status};
|
||||
Status Example3Status = {.description = "Example3 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example2Status};
|
||||
Status Example4Status = {.description = "Example4 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example3Status};
|
||||
Status Example5Status = {.description = "Example5 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example4Status};
|
||||
Status Example6Status = {.description = "Example6 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example5Status};
|
||||
Status Example7Status = {.description = "Example7 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example6Status};
|
||||
Status Example8Status = {.description = "Example8 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example7Status};
|
||||
Status Example9Status = {.description = "Example9 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example8Status};
|
||||
Status Example10Status = {.description = "Example10 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example9Status};
|
||||
Status Example11Status = {.description = "Example11 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example10Status};
|
||||
Status Example12Status = {.description = "Example12 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example11Status};
|
||||
Status Example13Status = {.description = "Example13 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example12Status};
|
||||
Status Example14Status = {.description = "Example14 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example13Status};
|
||||
Status Example15Status = {.description = "Example15 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example14Status};
|
||||
Status Example16Status = {.description = "Example16 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example15Status};
|
||||
Status Example17Status = {.description = "Example17 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example16Status};
|
||||
Status Example18Status = {.description = "Example18 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example17Status};
|
||||
Status Example19Status = {.description = "Example19 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example18Status};
|
||||
Status Example20Status = {.description = "Example20 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example19Status};
|
||||
Status Example21Status = {.description = "Example21 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example20Status};
|
||||
Status Example22Status = {.description = "Example22 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example21Status};
|
||||
Status Example23Status = {.description = "Example23 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example22Status};
|
||||
Status Example24Status = {.description = "Example24 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example23Status};
|
||||
Status Example25Status = {.description = "Example25 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example24Status};
|
||||
Status Example26Status = {.description = "Example26 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example25Status};
|
||||
Status Example27Status = {.description = "Example27 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example26Status};
|
||||
Status Example28Status = {.description = "Example28 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example27Status};
|
||||
Status Example29Status = {.description = "Example29 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example28Status};
|
||||
Status Example30Status = {.description = "Example30 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example29Status};
|
||||
Status Example31Status = {.description = "Example31 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example30Status};
|
||||
Status Example32Status = {.description = "Example32 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example31Status};
|
||||
Status Example33Status = {.description = "Example33 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example32Status};
|
||||
Status Example34Status = {.description = "Example34 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example33Status};
|
||||
Status Example35Status = {.description = "Example35 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example34Status};
|
||||
Status Example36Status = {.description = "Example36 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example35Status};
|
||||
Status Example37Status = {.description = "Example37 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example36Status};
|
||||
Status Example38Status = {.description = "Example38 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example37Status};
|
||||
Status Example39Status = {.description = "Example39 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example38Status};
|
||||
Status Example40Status = {.description = "Example40 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example39Status};
|
||||
Status Example41Status = {.description = "Example41 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example40Status};
|
||||
Status Example42Status = {.description = "Example42 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example41Status};
|
||||
Status Example43Status = {.description = "Example43 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example42Status};
|
||||
Status Example44Status = {.description = "Example44 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example43Status};
|
||||
Status Example45Status = {.description = "Example45 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example44Status};
|
||||
Status Example46Status = {.description = "Example46 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example45Status};
|
||||
Status Example47Status = {.description = "Example47 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example46Status};
|
||||
Status Example48Status = {.description = "Example48 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example47Status};
|
||||
Status Example49Status = {.description = "Example49 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example48Status};
|
||||
Status Example50Status = {.description = "Example50 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example49Status};
|
||||
Status Example51Status = {.description = "Example51 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example50Status};
|
||||
Status Example52Status = {.description = "Example52 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example51Status};
|
||||
Status Example53Status = {.description = "Example53 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example52Status};
|
||||
Status Example54Status = {.description = "Example54 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example53Status};
|
||||
Status Example55Status = {.description = "Example55 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example54Status};
|
||||
Status Example56Status = {.description = "Example56 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example55Status};
|
||||
Status Example57Status = {.description = "Example57 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example56Status};
|
||||
Status Example58Status = {.description = "Example58 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example57Status};
|
||||
Status Example59Status = {.description = "Example59 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example58Status};
|
||||
Status Example60Status = {.description = "Example60 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example59Status};
|
||||
Status Example61Status = {.description = "Example61 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example60Status};
|
||||
Status Example62Status = {.description = "Example62 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example61Status};
|
||||
Status Example63Status = {.description = "Example63 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example62Status};
|
||||
Status Example64Status = {.description = "Example64 Status",
|
||||
.characteristic = STATUS_NORMAL,
|
||||
.prev = &Example63Status};
|
||||
|
||||
Status statbuff[64] = {{0}};
|
||||
|
||||
status_dump(Example64Status, statbuff, 0);
|
||||
|
||||
Status *p = &Example64Status;
|
||||
int cnt = 0;
|
||||
while (p != NULL) {
|
||||
(void)printf("%d:%d %s\n", cnt++, p->characteristic, p->description);
|
||||
p = p->prev;
|
||||
};
|
||||
|
||||
return 0;
|
||||
}
|
@@ -1,11 +1,9 @@
|
||||
#ifndef COMPOUND_UTILS_H
|
||||
# define COMPOUND_UTILS_H
|
||||
|
||||
# include <time.h>
|
||||
# include <string.h>
|
||||
# include <stdlib.h>
|
||||
# include <math.h>
|
||||
# include <stdint.h>
|
||||
# include <string.h>
|
||||
# include <time.h>
|
||||
|
||||
# include <Compound/common.h>
|
||||
# include <Compound/const.h>
|
||||
|
BIN
Var/VarTest
Executable file
BIN
Var/VarTest
Executable file
Binary file not shown.
26
Var/test.c
Normal file
26
Var/test.c
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <Compound/var.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Var v1 = {
|
||||
.addr = malloc(sizeof(int)),
|
||||
.sz = sizeof(int)
|
||||
};
|
||||
|
||||
Var v2 = (Var){v1.addr, v1.sz};
|
||||
|
||||
wchar_t wbuff[UINT8_MAX + 1] = {};
|
||||
wchar_t *wp = wbuff;
|
||||
|
||||
(void)var_literalise(v1, &wp);
|
||||
|
||||
(void)wprintf(L"%ls\n", wp);
|
||||
|
||||
(void)var_literalise(v2, &wp);
|
||||
|
||||
(void)wprintf(L"%ls\n", wp);
|
||||
|
||||
free(v1.addr);
|
||||
|
||||
return 0;
|
||||
}
|
1
catlog.c
1
catlog.c
@@ -1,4 +1,3 @@
|
||||
#include "Status/include/status.h"
|
||||
#include <Compound/common.h>
|
||||
#include <Compound/status.h>
|
||||
#include <Compound/catlog.h>
|
||||
|
8
common.h
8
common.h
@@ -182,10 +182,10 @@ typedef struct {
|
||||
Coordination end;
|
||||
} Selection;
|
||||
|
||||
typedef struct {
|
||||
void *addr;
|
||||
size_t sz;
|
||||
} MemoryInst;
|
||||
// typedef struct {
|
||||
// void *addr;
|
||||
// size_t sz;
|
||||
// } MemoryInst;
|
||||
|
||||
typedef Coordination ArrayIndexerRange;
|
||||
typedef bool _Bit;
|
||||
|
@@ -7,11 +7,8 @@ typedef Var Type;
|
||||
|
||||
typedef struct {
|
||||
attr(registered 1) Type type;
|
||||
|
||||
attr(nullity false) String identity;
|
||||
|
||||
attr(alignwith 1)
|
||||
attr(optional true) Type value;
|
||||
attr(nullity false) String identity;
|
||||
attr(alignwith 1; optional true) Type value;
|
||||
} Parameter;
|
||||
|
||||
typedef void * Block;
|
||||
|
43
install
43
install
@@ -1,43 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "`whoami`" != "root" ]; then
|
||||
echo "The script require root privilege to execute properly."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# echo "Please ensure the current work directory is the home directory to the project Compound!
|
||||
# Press enter key to continue..."
|
||||
# read
|
||||
|
||||
SRC="$PWD"
|
||||
DST=/usr/include/Compound
|
||||
PROJ=("Array" "Paper" "Pen" "Render" "Status" "Var" "MemMan" "Stack" "Utils"\
|
||||
"String" "Object")
|
||||
|
||||
PROJLEN=${#PROJ[*]}
|
||||
echo "======== $PROJLEN projects in total ========"
|
||||
|
||||
idx=0
|
||||
while :; do
|
||||
if [[ $idx -eq $PROJLEN || $idx -gt $PROJLEN ]]; then
|
||||
break;
|
||||
fi
|
||||
|
||||
p="${PROJ[$idx]}"
|
||||
|
||||
cd "$p"
|
||||
echo "`date` >>> Installing $p"
|
||||
cp -v include/*.h "$DST"
|
||||
cd "$SRC"
|
||||
((idx++))
|
||||
echo
|
||||
done
|
||||
|
||||
cp -v "common.h" "const.h" "platform.h"\
|
||||
"name.h" "namescope.h" "type.h" "catlog.h"\
|
||||
"attr.h" "registry.h" "class.h" "function.h" "$DST"
|
||||
|
||||
echo "Installing libcompound:"
|
||||
cp -v "libcompound.so" "/usr/lib"
|
||||
|
||||
printf "\nDone\n"
|
11
postinstall
Executable file
11
postinstall
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$(whoami)" != "root" ]; then
|
||||
echo "The script require root privilege to execute properly. Current identity: $(whoami)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install Compound library.
|
||||
echo "Installing libcompound:"
|
||||
cp -v "libcompound.so" "/usr/lib"
|
||||
|
35
preinstall
Executable file
35
preinstall
Executable file
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$(whoami)" != "root" ]; then
|
||||
echo "The script require root privilege to execute properly. Current identity: $(whoami)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SRC="$PWD"
|
||||
DST=/usr/include/Compound
|
||||
set -- Array Paper Pen Render Status Var MemMan Stack Utils String Object
|
||||
|
||||
# Create directory.
|
||||
if [ ! -d "$DST" ]; then
|
||||
mkdir -pv "$DST"
|
||||
fi
|
||||
|
||||
# Install project-like headers.
|
||||
while :; do
|
||||
p="$1"
|
||||
if [ -z "$1" ]; then break; fi
|
||||
|
||||
cd "$p" || exit 1
|
||||
echo "$(date) >>> Installing $p"
|
||||
cp -v include/*.h "$DST"
|
||||
cd "$SRC" || exit 1
|
||||
shift 1
|
||||
echo
|
||||
done
|
||||
|
||||
# Install individual headers.
|
||||
cp -v "common.h" "const.h" "platform.h"\
|
||||
"name.h" "namescope.h" "type.h" "catlog.h"\
|
||||
"attr.h" "registry.h" "class.h" "function.h" "$DST"
|
||||
|
||||
printf "\nDone\n"
|
457
test.c
Normal file
457
test.c
Normal file
@@ -0,0 +1,457 @@
|
||||
#include <Compound/array.h>
|
||||
#include <Compound/catlog.h>
|
||||
#include <Compound/common.h>
|
||||
#include <Compound/memman.h>
|
||||
#include <Compound/status.h>
|
||||
#include <Compound/var.h>
|
||||
|
||||
Status func(void)
|
||||
{
|
||||
return apply(
|
||||
error(ErrorStatus, "This function does not accept any parameters!"));
|
||||
}
|
||||
|
||||
__attribute__((constructor))
|
||||
void __CONSTRUCT__() {
|
||||
cat("Hello, Compound!\n");
|
||||
}
|
||||
|
||||
__attribute__((destructor))
|
||||
void __DESTRUCT__() {}
|
||||
|
||||
Status Main(void)
|
||||
{
|
||||
// Memory mem1;
|
||||
// seek(Memory_Create(&mem1, INT64_MAX), {
|
||||
// print_status(_);
|
||||
// });
|
||||
// seek(Memory_Allocate(&mem1), {
|
||||
// print_status(_);
|
||||
// });
|
||||
// seek(Memory_Allocate(&mem1), {
|
||||
// print_status(_);
|
||||
// });
|
||||
// seek(Memory_Release(&mem1), {
|
||||
// print_status(_);
|
||||
// });
|
||||
// seek(Memory_Release(&mem1), {
|
||||
// print_status(_);
|
||||
// });
|
||||
// seek(Memory_Delete(&mem1), {
|
||||
// print_status(_);
|
||||
// });
|
||||
|
||||
// PrintStatusDump(unknown(normal(MaximumLiteralisationLengthExceeded, ":O"), "OMGIDKWTD", 1));
|
||||
// PrintStatusDump(apply(extend(MaximumLiteralisationLengthExceeded, normal(UnavailableBuffer, "OMGIDKWTD"))));
|
||||
// PrintStatusDump(MaximumLiteralisationLengthExceeded);
|
||||
|
||||
DEFSTATUS(TestStatus0, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &MaximumLiteralisationLengthExceeded);
|
||||
|
||||
DEFSTATUS(TestStatus1, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus0);
|
||||
|
||||
DEFSTATUS(TestStatus2, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus1);
|
||||
|
||||
DEFSTATUS(TestStatus3, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus2);
|
||||
|
||||
DEFSTATUS(TestStatus4, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus3);
|
||||
|
||||
DEFSTATUS(TestStatus5, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus4);
|
||||
|
||||
DEFSTATUS(TestStatus6, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus5);
|
||||
|
||||
DEFSTATUS(TestStatus7, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus6);
|
||||
|
||||
DEFSTATUS(TestStatus8, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus7);
|
||||
|
||||
DEFSTATUS(TestStatus9, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus8);
|
||||
|
||||
DEFSTATUS(TestStatus10, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus9);
|
||||
|
||||
DEFSTATUS(TestStatus11, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus10);
|
||||
|
||||
DEFSTATUS(TestStatus12, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus11);
|
||||
|
||||
DEFSTATUS(TestStatus13, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus12);
|
||||
|
||||
DEFSTATUS(TestStatus14, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus13);
|
||||
|
||||
DEFSTATUS(TestStatus15, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus14);
|
||||
|
||||
DEFSTATUS(TestStatus16, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus15);
|
||||
|
||||
DEFSTATUS(TestStatus17, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus16);
|
||||
|
||||
DEFSTATUS(TestStatus18, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus17);
|
||||
|
||||
DEFSTATUS(TestStatus19, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus18);
|
||||
|
||||
DEFSTATUS(TestStatus20, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus19);
|
||||
|
||||
DEFSTATUS(TestStatus21, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus20);
|
||||
|
||||
DEFSTATUS(TestStatus22, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus21);
|
||||
|
||||
DEFSTATUS(TestStatus23, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus22);
|
||||
|
||||
DEFSTATUS(TestStatus24, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus23);
|
||||
|
||||
DEFSTATUS(TestStatus25, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus24);
|
||||
|
||||
DEFSTATUS(TestStatus26, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus25);
|
||||
|
||||
DEFSTATUS(TestStatus27, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus26);
|
||||
|
||||
DEFSTATUS(TestStatus28, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus27);
|
||||
|
||||
DEFSTATUS(TestStatus29, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus28);
|
||||
|
||||
DEFSTATUS(TestStatus30, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus29);
|
||||
|
||||
DEFSTATUS(TestStatus31, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus30);
|
||||
|
||||
DEFSTATUS(TestStatus32, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus31);
|
||||
|
||||
DEFSTATUS(TestStatus33, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus32);
|
||||
|
||||
DEFSTATUS(TestStatus34, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus33);
|
||||
|
||||
DEFSTATUS(TestStatus35, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus34);
|
||||
|
||||
DEFSTATUS(TestStatus36, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus35);
|
||||
|
||||
DEFSTATUS(TestStatus37, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus36);
|
||||
|
||||
DEFSTATUS(TestStatus38, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus37);
|
||||
|
||||
DEFSTATUS(TestStatus39, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus38);
|
||||
|
||||
DEFSTATUS(TestStatus40, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus39);
|
||||
|
||||
DEFSTATUS(TestStatus41, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus40);
|
||||
|
||||
DEFSTATUS(TestStatus42, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus41);
|
||||
|
||||
DEFSTATUS(TestStatus43, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus42);
|
||||
|
||||
DEFSTATUS(TestStatus44, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus43);
|
||||
|
||||
DEFSTATUS(TestStatus45, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus44);
|
||||
|
||||
DEFSTATUS(TestStatus46, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus45);
|
||||
|
||||
DEFSTATUS(TestStatus47, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus46);
|
||||
|
||||
DEFSTATUS(TestStatus48, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus47);
|
||||
|
||||
DEFSTATUS(TestStatus49, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus48);
|
||||
|
||||
DEFSTATUS(TestStatus50, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus49);
|
||||
|
||||
DEFSTATUS(TestStatus51, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus50);
|
||||
|
||||
DEFSTATUS(TestStatus52, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus51);
|
||||
|
||||
DEFSTATUS(TestStatus53, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus52);
|
||||
|
||||
DEFSTATUS(TestStatus54, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus53);
|
||||
|
||||
DEFSTATUS(TestStatus55, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus54);
|
||||
|
||||
DEFSTATUS(TestStatus56, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus55);
|
||||
|
||||
DEFSTATUS(TestStatus57, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus56);
|
||||
|
||||
DEFSTATUS(TestStatus58, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus57);
|
||||
|
||||
DEFSTATUS(TestStatus59, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus58);
|
||||
|
||||
DEFSTATUS(TestStatus60, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus59);
|
||||
|
||||
DEFSTATUS(TestStatus61, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus60);
|
||||
|
||||
DEFSTATUS(TestStatus62, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus61);
|
||||
|
||||
DEFSTATUS(TestStatus63, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus62);
|
||||
|
||||
DEFSTATUS(TestStatus64, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus63);
|
||||
|
||||
DEFSTATUS(TestStatus65, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus64);
|
||||
|
||||
DEFSTATUS(TestStatus66, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus65);
|
||||
|
||||
DEFSTATUS(TestStatus67, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus66);
|
||||
|
||||
DEFSTATUS(TestStatus68, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus67);
|
||||
|
||||
DEFSTATUS(TestStatus69, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus68);
|
||||
|
||||
DEFSTATUS(TestStatus70, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus69);
|
||||
|
||||
DEFSTATUS(TestStatus71, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus70);
|
||||
|
||||
DEFSTATUS(TestStatus72, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus71);
|
||||
|
||||
DEFSTATUS(TestStatus73, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus72);
|
||||
|
||||
DEFSTATUS(TestStatus74, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus73);
|
||||
|
||||
DEFSTATUS(TestStatus75, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus74);
|
||||
|
||||
DEFSTATUS(TestStatus76, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus75);
|
||||
|
||||
DEFSTATUS(TestStatus77, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus76);
|
||||
|
||||
DEFSTATUS(TestStatus78, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus77);
|
||||
|
||||
DEFSTATUS(TestStatus79, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus78);
|
||||
|
||||
DEFSTATUS(TestStatus80, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus79);
|
||||
|
||||
DEFSTATUS(TestStatus81, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus80);
|
||||
|
||||
DEFSTATUS(TestStatus82, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus81);
|
||||
|
||||
DEFSTATUS(TestStatus83, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus82);
|
||||
|
||||
DEFSTATUS(TestStatus84, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus83);
|
||||
|
||||
DEFSTATUS(TestStatus85, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus84);
|
||||
|
||||
DEFSTATUS(TestStatus86, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus85);
|
||||
|
||||
DEFSTATUS(TestStatus87, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus86);
|
||||
|
||||
DEFSTATUS(TestStatus88, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus87);
|
||||
|
||||
DEFSTATUS(TestStatus89, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus88);
|
||||
|
||||
DEFSTATUS(TestStatus90, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus89);
|
||||
|
||||
DEFSTATUS(TestStatus91, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus90);
|
||||
|
||||
DEFSTATUS(TestStatus92, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus91);
|
||||
|
||||
DEFSTATUS(TestStatus93, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus92);
|
||||
|
||||
DEFSTATUS(TestStatus94, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus93);
|
||||
|
||||
DEFSTATUS(TestStatus95, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus94);
|
||||
|
||||
DEFSTATUS(TestStatus96, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus95);
|
||||
|
||||
DEFSTATUS(TestStatus97, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus96);
|
||||
|
||||
DEFSTATUS(TestStatus98, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus97);
|
||||
|
||||
DEFSTATUS(TestStatus99, 1,
|
||||
"This status is used for displaying multi-layer of status dumping.",
|
||||
STATUS_NORMAL, &TestStatus98);
|
||||
|
||||
|
||||
PrintStatusDump(apply(TestStatus99));
|
||||
|
||||
return apply(NormalStatus);
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return Main().value;
|
||||
}
|
Reference in New Issue
Block a user