diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-09-21 01:40:32 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-09-21 01:40:32 -0500 |
| commit | d71346377d0fe4db85174633460acc8e97f11d47 (patch) | |
| tree | 408910993a5b0d1bb7242dafbacb201b9cf13c17 /src/mods-example | |
Diffstat (limited to 'src/mods-example')
| -rw-r--r-- | src/mods-example/000_print_a.c | 21 | ||||
| -rw-r--r-- | src/mods-example/500_print_b.c | 28 |
2 files changed, 49 insertions, 0 deletions
diff --git a/src/mods-example/000_print_a.c b/src/mods-example/000_print_a.c new file mode 100644 index 0000000..49cbea8 --- /dev/null +++ b/src/mods-example/000_print_a.c @@ -0,0 +1,21 @@ +/* + Copyright (C) 2026 iceyrazor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, see <https://www.gnu.org/licenses/>. +*/ + +#include <stdio.h> + +void init_print_a(){ + printf("PRINTED A\n"); +} diff --git a/src/mods-example/500_print_b.c b/src/mods-example/500_print_b.c new file mode 100644 index 0000000..3a3bd79 --- /dev/null +++ b/src/mods-example/500_print_b.c @@ -0,0 +1,28 @@ +/* + Copyright (C) 2026 iceyrazor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, see <https://www.gnu.org/licenses/>. +*/ + +#include <stdio.h> + +#ifndef TEST_FUNC +#define TEST_FUNC +void test(char *text){ + printf("I DONT WANNA\n"); +} +#endif + +void init_print_b(){ + printf("PRINTED B\n"); +} |
