aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
Diffstat (limited to 'system/include')
-rw-r--r--system/include/emscripten/emscripten.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/emscripten/emscripten.h b/system/include/emscripten/emscripten.h
index 6bd3ef07..195c538d 100644
--- a/system/include/emscripten/emscripten.h
+++ b/system/include/emscripten/emscripten.h
@@ -521,6 +521,7 @@ void emscripten_debugger();
* Get preloaded image data and the size of the image.
*
* Returns pointer to loaded image or NULL.
+ * width/height of image are written to w/h if data is valid.
* Pointer should be free()'d
*/
char *emscripten_get_preloaded_image_data(char *path, int *w, int *h);
@@ -529,6 +530,7 @@ char *emscripten_get_preloaded_image_data(char *path, int *w, int *h);
* Get preloaded image data from a c FILE *.
*
* Returns pointer to loaded image or NULL.
+ * width/height of image are written to w/h if data is valid.
* Pointer should be free()'d
*/
char *emscripten_get_preloaded_image_data_from_FILE(FILE *file, int *w, int *h);