summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-03-20 14:23:19 -0500
committerDanny Holman <dholman@gymli.org>2025-03-20 14:23:19 -0500
commitf58b327650d9ecaba454d626c07fd01351d0880c (patch)
tree21aa6a3aa2f7356af2f5ae4bff6d44e3c6afcb16
parentb15010e8a67555e69014612b3563a5f80e894fa9 (diff)
core: init: remove hot reload support
Remove hot code reloading support from the core API. This functionality is not achievable under current conditions and does not align with project goals. Signed-off-by: Danny Holman <dholman@gymli.org>
-rw-r--r--core/init.c23
-rw-r--r--include/rune/core/init.h5
2 files changed, 21 insertions, 7 deletions
diff --git a/core/init.c b/core/init.c
index 1a600ef..5df4d04 100644
--- a/core/init.c
+++ b/core/init.c
@@ -1,11 +1,30 @@
+/*
+ * Rune Game Engine
+ * Copyright 2024 Danny Holman <dholman@gymli.org>
+ *
+ * This software is provided 'as-is', without any express or implied
+ * warranty. In no event will the authors be held liable for any damages
+ * arising from the use of this software.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ * 3. This notice may not be removed or altered from any source distribution.
+ */
+
#include <rune/core/init.h>
-#include <rune/core/alloc.h>
#include <rune/core/abort.h>
#include <rune/core/logging.h>
#include <rune/core/thread.h>
int rune_init(int argc, char* argv[]) {
- enable_log_color();
log_output(LOG_INFO, "Started Rune Engine version %s", RUNE_VER);
_parse_args(argc, argv);
rune_init_thread_api();
diff --git a/include/rune/core/init.h b/include/rune/core/init.h
index 50f7188..2518e8b 100644
--- a/include/rune/core/init.h
+++ b/include/rune/core/init.h
@@ -38,9 +38,4 @@ RAPI int rune_init(int argc, char* argv[]);
*/
RAPI void rune_exit(void);
-/**
- * \brief Hot-reloads the entire engine library from disk
- */
-RAPI int rune_hot_reload(void);
-
#endif