diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-10-18 14:50:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-10-24 08:55:53 +0200 |
commit | b1bd7b53123e3e3b8da2fc30bda8dc22c2cdb170 (patch) | |
tree | e0970319d7c538b4bec0a4b223dc436b3f3e2b45 /.editorconfig | |
parent | 3408edf99bf214792ea17ff3d67b08890701c2b4 (diff) |
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 <idewolff@vincitech.nl>
[separated from original commit, move ucv_resource_create() into types.h]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions