From d71346377d0fe4db85174633460acc8e97f11d47 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Mon, 21 Sep 2026 01:40:32 -0500 Subject: init --- src/mods-example/000_print_a.c | 21 +++++++++++++++++++++ src/mods-example/500_print_b.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/mods-example/000_print_a.c create mode 100644 src/mods-example/500_print_b.c (limited to 'src/mods-example') 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 . +*/ + +#include + +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 . +*/ + +#include + +#ifndef TEST_FUNC +#define TEST_FUNC +void test(char *text){ + printf("I DONT WANNA\n"); +} +#endif + +void init_print_b(){ + printf("PRINTED B\n"); +} -- cgit v1.3