Replace repository content with Codeberg version

This commit is contained in:
nitrogenoliquido committed 2026-11-08 10:50:20 -05:00
1 parent 9c1430df6e
commit fd9c5922da
621 files changed
+197975 -130605

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// What the portable client code needs from the operating system (implemented in src/platform/<os>/).
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// ---- implemented by the platform layer ----
void *slinky_gl_get_proc(const char *name); // OpenGL entry point by name (needs a current context)
void slinky_log_write(const char *line); // one line of diagnostics (stderr / debug output), no newline
// ---- implemented by the client (src/engine/protected/init.cpp), called by the platform layer ----
int slinky_setup(void *self); // start-up; runs on its own thread. 0 = ok, else an error code
int slinky_teardown(void); // frees everything slinky_setup built; 0 = hooks still live, keep the DLL loaded
void slinky_logf(const char *fmt, ...); // printf-style diagnostics via slinky_log_write
#ifdef __cplusplus
}
#endif