Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types: add ucv_resource_create() helper
Introduce a new inline convenience function ucv_resource_create() which simplifies creating resource values by resource type name by combining resource type lookup and resource value creation in one call. This function will be used in subsequent refactoring to eliminate global static variables. Suggested-by: Isaac de Wolff <[email protected]> [separated from original commit, move ucv_resource_create() into types.h] Signed-off-by: Jo-Philipp Wich <[email protected]>
- Loading branch information