EDT PCD SDK Documentation 6.1.0
libedt_version.h File Reference
#include "edt_portability.h"
#include <stdint.h>
Include dependency graph for libedt_version.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  libedt_version
 EDT library version structure. More...
 

Macros

#define LIBEDT_VERSION_MAJOR   6
 Major version number of the EDT library
 
#define LIBEDT_VERSION_MINOR   1
 Minor version number of the EDT library
 
#define LIBEDT_VERSION_PATCH   0
 Patch version number of the EDT library
 

Typedefs

typedef struct libedt_version libedt_version_t
 EDT library version structure.
 

Functions

const libedt_version_tlibedt_get_version (void)
 Get detailed EDT library version information. More...
 
const char * libedt_get_version_str (void)
 Get EDT library version as a string. More...
 
const char * libedt_get_version_str_full (void)
 Get EDT library version as a detailed string. More...
 
const char * libedt_compiled_by (void)
 Get simple version string of compiler used to build the EDT library. More...
 

Detailed Description

Author
EDT tech@.nosp@m.edt..nosp@m.com

This file provides both compile-time macros and run-time functions to get the version of the EDT library.

Compile-time macros may be used to write pre-processor logic to support building against different versions of the EDT library.

The version getter functions may be useful to check the library version in use at runtime.

Function Documentation

◆ libedt_get_version()

const libedt_version_t * libedt_get_version ( void  )

Get detailed EDT library version information.

Returns
Pointer to read-only version structure.
Here is the caller graph for this function:

◆ libedt_get_version_str()

const char * libedt_get_version_str ( void  )

Get EDT library version as a string.

Example: "1.2.3-rc4"

Note
For informational purposes only. The format of this string is subject to change at any time.
Returns
String pointer.
Here is the caller graph for this function:

◆ libedt_get_version_str_full()

const char * libedt_get_version_str_full ( void  )

Get EDT library version as a detailed string.

Example: "1.2.3-rc4+20210214124523.asdf1234"

Note
For informational purposes only. The format of this string is subject to change at any time.
Returns
String pointer.

◆ libedt_compiled_by()

const char * libedt_compiled_by ( void  )

Get simple version string of compiler used to build the EDT library.

Note
For informational purposes only. The accuracy or format of this string is subject to change at any time.
Returns
String pointer.