Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
native_runtime_cleanup.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Declares cleanup helpers for native runtime-owned data structures.
4 */
5
6#ifndef PHAROS_NATIVE_RUNTIME_CLEANUP_H
7#define PHAROS_NATIVE_RUNTIME_CLEANUP_H
8
10
11/** @name Runtime cleanup helpers
12 * @{
13 */
14/**
15 * @brief Releases heap-owned fields in a loaded app runtime record.
16 * @param app Runtime record to clear.
17 */
19/**
20 * @brief Releases all loaded app runtimes and listener metadata in a runtime stack.
21 * @param stack Runtime stack to clear.
22 */
24
25/** @} */
26#endif
void free_runtime_stack(RuntimeStack *stack)
Releases all loaded app runtimes and listener metadata in a runtime stack.
void free_app_runtime(AppRuntime *app)
Releases heap-owned fields in a loaded app runtime record.
Defines shared native runtime data structures used across the Pharos C runtime.
Loaded runtime metadata for one Pharos app artifact.
In-memory collection of loaded app runtimes served by one listener.