Rizin
unix-like reverse engineering framework and cli tools
version.c File Reference
#include "uv.h"

Go to the source code of this file.

Macros

#define UV_STRINGIFY(v)   UV_STRINGIFY_HELPER(v)
 
#define UV_STRINGIFY_HELPER(v)   #v
 
#define UV_VERSION_STRING_BASE
 
#define UV_VERSION_STRING   UV_VERSION_STRING_BASE "-" UV_VERSION_SUFFIX
 

Functions

unsigned int uv_version (void)
 
const char * uv_version_string (void)
 

Macro Definition Documentation

◆ UV_STRINGIFY

#define UV_STRINGIFY (   v)    UV_STRINGIFY_HELPER(v)

Definition at line 24 of file version.c.

◆ UV_STRINGIFY_HELPER

#define UV_STRINGIFY_HELPER (   v)    #v

Definition at line 25 of file version.c.

◆ UV_VERSION_STRING

#define UV_VERSION_STRING   UV_VERSION_STRING_BASE "-" UV_VERSION_SUFFIX

Definition at line 34 of file version.c.

◆ UV_VERSION_STRING_BASE

#define UV_VERSION_STRING_BASE
Value:
UV_STRINGIFY(UV_VERSION_MINOR) "." \
UV_STRINGIFY(UV_VERSION_PATCH)
#define UV_VERSION_MAJOR
Definition: version.h:33
#define UV_VERSION_PATCH
Definition: version.h:35
#define UV_VERSION_MINOR
Definition: version.h:34
#define UV_STRINGIFY(v)
Definition: version.c:24

Definition at line 27 of file version.c.

Function Documentation

◆ uv_version()

unsigned int uv_version ( void  )

Definition at line 38 of file version.c.

38  {
39  return UV_VERSION_HEX;
40 }
#define UV_VERSION_HEX
Definition: version.h:39

References UV_VERSION_HEX.

◆ uv_version_string()

const char* uv_version_string ( void  )

Definition at line 43 of file version.c.

43  {
44  return UV_VERSION_STRING;
45 }
#define UV_VERSION_STRING
Definition: version.c:34

References UV_VERSION_STRING.