aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-09-21 01:40:32 -0500
committericeyrazor <iceyrazor@mailfence.com>2026-09-21 01:40:32 -0500
commitd71346377d0fe4db85174633460acc8e97f11d47 (patch)
tree408910993a5b0d1bb7242dafbacb201b9cf13c17 /src/main.c
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100755
index 0000000..b481033
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,32 @@
+/*
+ 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 "mod-loader.c"
+#include <stdio.h>
+
+#ifndef TEST_FUNC
+#define TEST_FUNC
+void test(char *text){
+ printf("%s\n",text);
+}
+#endif
+
+int main()
+{
+ init_mods();
+ test("insert_text");
+ return 0;
+}