loader: cJSON to use regular heap instead of TLS
authorCharles Giessen <charles@lunarg.com>
Sat, 4 Sep 2021 19:33:38 +0000 (13:33 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 9 Sep 2021 17:28:56 +0000 (11:28 -0600)
commit995e78dc4a1fc6c20add5e06c7f6fc1dfd80fd3e
tree22a706d6feee4e9ffcafe1a56dff482b9d727666
parent359cd87f3b000542a3cb7a6b07e8bf069d696709
loader: cJSON to use regular heap instead of TLS

Refactored the cJSON library to take an loader_instance pointer everywhere it
allocates memory. This way a TLS loader_instance pointer doesn't need to be
set at initialization and then at vkCreateInstance.
loader/cJSON.c
loader/cJSON.h
loader/loader.c