aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
authorCharlie Birks <admin@daftgames.net>2014-06-05 20:05:35 +0100
committerCharlie Birks <admin@daftgames.net>2014-06-05 20:05:35 +0100
commit34d974d84bd01a96d1364d73f98554adcf0426fe (patch)
tree3a035bc6f976d73f7fc19899e747ebe9d43c25c2 /system/include
parent82bac79df4493c6c0acb9feb9170094b816ff508 (diff)
changes from review
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);