aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.h
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-08-28 13:38:21 -0600
committerJon Ashburn <jon@lunarg.com>2015-09-04 15:46:31 -0600
commit94be72c20be1cfd4ea8b8f6c27c6bdc75cb2a843 (patch)
treee6dfed0c7c9cdc2a72c1200b7264b03726b489ea /loader/debug_report.h
parent65a2bcfa67d4ce71f0da622b67a12af80e47914f (diff)
downloadusermoji-94be72c20be1cfd4ea8b8f6c27c6bdc75cb2a843.tar.xz
loader: Make use of app provided allocation callbacks
Convert all heap allocs/frees to use loader_heap_alloc() or loader_heap_free(). Before CreateInstance this will use malloc/free. At (and after) CreateInstance alloc callbacks are stored and used for any allocations. Exceptions are thirdparty code (cJSON and dirent_on_windows) still always use malloc/free. Plan to address these in later patch if ti makes sense.
Diffstat (limited to 'loader/debug_report.h')
-rw-r--r--loader/debug_report.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/debug_report.h b/loader/debug_report.h
index 52cd1702..a04386a0 100644
--- a/loader/debug_report.h
+++ b/loader/debug_report.h
@@ -91,6 +91,7 @@
*/
void debug_report_add_instance_extensions(
+ const struct loader_instance *inst,
struct loader_extension_list *ext_list);
void debug_report_create_instance(