diff options
author | kdx <kikoodx@paranoici.org> | 2023-03-05 17:23:48 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-03-05 17:23:48 +0100 |
commit | cbbf388669613ca688339ef3ac8aaa35bbd3048a (patch) | |
tree | 23dde4531333462be80997e3560b2868220fd2d4 /headers/TZR_types.h | |
parent | 41400167398f1ab5f5e8ee67a76358189085f17f (diff) | |
download | tzr-cbbf388669613ca688339ef3ac8aaa35bbd3048a.tar.gz |
resource reload hook
Diffstat (limited to 'headers/TZR_types.h')
-rw-r--r-- | headers/TZR_types.h | 1 |
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; |