Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_command_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_command_)
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_command".
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_command_generated.h"
28 
29 static const afw_utf8_z_t * impl_version_info_z[] = {
30  "compileDate", __DATE__,
31  "compileTime", __TIME__,
32  "id", "afw_command",
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_COMMAND_VERSION_STRING,
39  "versionWithGitInfo", AFW_COMMAND_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_command");
45 
47 {
48 
49  /* Register version info object. */
52  &impl_version_info_path,
53  impl_version_info_z,
54  xctx->env->p, xctx),
55  false, xctx);
56 
57 }
Adaptive Framework Core API.
void afw_command_generated_register(afw_xctx_t *xctx)
Generated register for afw_command.
Adaptive Framework register generated (afw_command) header.
Adaptive Framework Version (afw_command_) 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.