playground/cmake_demo/simple_library/include/simple/simple_library.h
2024-08-31 22:26:15 -04:00

34 lines
633 B
C

#pragma once
/**
* Brief description of the function.
*
* Detailed description of the function. This part can be used to elaborate on the functionality, parameters, and return values.
*
* @param x The first parameter, representating an integer value.
* @param y The second parameter, representing an integer value.
* @return The sum of x and y.
*/
int add(int a, int b);
/**
* Get the version that was generated.
*/
const char* getVersion();
/**
* Get the git hash
*/
const char* getGitHash();
/**
* Get the git branch
*/
const char* getGitBranch();
/**
* Get the custom value
*/
const char* getCustomValue();