aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-03-05 17:35:31 +0100
committerkdx <kikoodx@paranoici.org>2023-03-05 17:35:31 +0100
commit58a0e863acbd72e602aa8c6332c7b88e91c20560 (patch)
tree141216ce090dac9a01288503eaaf0caffdbb013b /headers
parentcbbf388669613ca688339ef3ac8aaa35bbd3048a (diff)
downloadtzr-58a0e863acbd72e602aa8c6332c7b88e91c20560.tar.gz
Revert "resource reload hook"
This reverts commit cbbf388669613ca688339ef3ac8aaa35bbd3048a.
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR_resource.h3
-rw-r--r--headers/TZR_types.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/headers/TZR_resource.h b/headers/TZR_resource.h
index 7736fa5..d9a68c4 100644
--- a/headers/TZR_resource.h
+++ b/headers/TZR_resource.h
@@ -23,9 +23,6 @@ TZR_ResourceType TZR_GetResourceType(TZR_Uint id);
const char *TZR_GetResourcePath(TZR_Uint id);
/* Doesn't handle invalid ID. */
-void TZR_SetResourceReloadHook(TZR_Uint id, void (*func)(TZR_Uint));
-
-/* Doesn't handle invalid ID. */
int TZR_GetImageWidth(TZR_Uint id);
/* Doesn't handle invalid ID. */
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index c914b34..2377614 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -77,7 +77,6 @@ struct TZR_Resource {
TZR_ResourceType type;
char *path; /* allocated and freed by TZR; can be NULL */
long mtime;
- void (*reload_hook)(TZR_Uint);
union {
TZR_Raw raw; /* raw file data */
TZR_Image image;