Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_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_)
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".
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"
26 #include "afw_generated.h"
27 #include "afw_version_info.h"
28 
29 static const afw_utf8_z_t * impl_version_info_z[] = {
30  "compileDate", __DATE__,
31  "compileTime", __TIME__,
32  "id", "afw",
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_VERSION_STRING,
39  "versionWithGitInfo", AFW_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");
45 
47 {
48 
49  /* Register data types. */
51 
52  /* Register functions. */
55 
56  /* Register object maps. */
58 
59  /* Register const runtime objects. */
61 
62  /* Register data type infs. */
64 
65  /* Register version info object. */
68  &impl_version_info_path,
69  impl_version_info_z,
70  xctx->env->p, xctx),
71  false, xctx);
72 
73 }
Adaptive Framework Core API.
void afw_const_objects_register(afw_xctx_t *xctx)
Get array of afw_ const objects.
afw_register_data_types(afw_xctx_t *xctx)
Register each afw_data_type_<dataType>.
afw_register_data_type_infs(afw_xctx_t *xctx)
Register each afw__value_evaluated_<dataType>_inf.
void afw_generated_register(afw_xctx_t *xctx)
Generated register for afw.
Definition: afw_generated.c:46
Adaptive Framework register generated (afw) header.
void afw_register_runtime_object_maps(afw_xctx_t *xctx)
Register (afw_) runtime object maps.
Adaptive Framework Version (afw_) header.
afw_function_bindings_get()
Get array of pointers to afw_function bindings.
#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
afw_environment_register_functions(const afw_value_function_definition_t **functions, afw_xctx_t *xctx)
Register a NULL terminated list of functions.
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.