aboutsummaryrefslogtreecommitdiff
path: root/headers/TZR_types.h
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-03-05 17:23:48 +0100
committerkdx <kikoodx@paranoici.org>2023-03-05 17:23:48 +0100
commitcbbf388669613ca688339ef3ac8aaa35bbd3048a (patch)
tree23dde4531333462be80997e3560b2868220fd2d4 /headers/TZR_types.h
parent41400167398f1ab5f5e8ee67a76358189085f17f (diff)
downloadtzr-cbbf388669613ca688339ef3ac8aaa35bbd3048a.tar.gz
resource reload hook
Diffstat (limited to 'headers/TZR_types.h')
-rw-r--r--headers/TZR_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index 2377614..c914b34 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -77,6 +77,7 @@ 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;