Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_components_generated.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Register Generated (afw_components_)
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 /* ----------------------------- N O T E -------------------------------------
10  *
11  * This file is generated by "afwdev generate afw_components".
12  *
13  * Do not change this file directly or the changes will be lost the next time
14  * this file is regenerated.
15  *
16  * -------------------------------------------------------------------------*/
17 
18 
19 
25 #include "afw.h"
28 
29 static const afw_utf8_z_t * impl_version_info_z[] = {
30  "compileDate", __DATE__,
31  "compileTime", __TIME__,
32  "id", "afw_components",
33  "gitBranch", AFW_GIT_INFO_BRANCH,
34  "gitDescribe", AFW_GIT_INFO_DESCRIBE,
35  "gitSha", AFW_GIT_INFO_SHA,
36  "libafwVersion", AFW_VERSION_STRING,
37  "libafwVersionWithGitInfo", AFW_VERSION_WITH_GIT_INFO,
38  "version", AFW_COMPONENTS_VERSION_STRING,
39  "versionWithGitInfo", AFW_COMPONENTS_VERSION_WITH_GIT_INFO,
40  NULL
41 };
42 
43 static const afw_utf8_t impl_version_info_path =
44  AFW_UTF8_LITERAL("/afw/_AdaptiveVersionInfo_/afw_components");
45 
47 {
48 
49  /* Register object maps. */
51 
52  /* Register const runtime objects. */
54 
55  /* Register version info object. */
58  &impl_version_info_path,
59  impl_version_info_z,
60  xctx->env->p, xctx),
61  false, xctx);
62 
63 }
Adaptive Framework Core API.
void afw_components_const_objects_register(afw_xctx_t *xctx)
Get array of afw_components_ const objects.
void afw_components_generated_register(afw_xctx_t *xctx)
Generated register for afw_components.
Adaptive Framework register generated (afw_components) header.
void afw_components_register_runtime_object_maps(afw_xctx_t *xctx)
Register (afw_components_) runtime object maps.
Adaptive Framework Version (afw_components_) header.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
afw_utf8_octet_t afw_utf8_z_t
NFC normalized UTF-8 null terminated string.
Definition: afw_common.h:523
const afw_object_t * afw_object_create_const_from_key_value_strings_z(const afw_utf8_t *path, const afw_utf8_z_t *const *pairs, const afw_pool_t *p, afw_xctx_t *xctx)
Create a const object from key/value utf-8 null terminated strings.
afw_runtime_env_set_object(const afw_object_t *object, afw_boolean_t overwrite, afw_xctx_t *xctx)
Set an object pointer in the environment's runtime objects.
Definition: afw_runtime.c:210
const afw_pool_t * p
Pool used to hold environment.
Definition: afw_common.h:1386
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.