47 lines
1.0 KiB
C
47 lines
1.0 KiB
C
#ifndef OBELISK_INCLUDE_OBELISK_WRAPPER_H
|
|
#define OBELISK_INCLUDE_OBELISK_WRAPPER_H
|
|
|
|
#include "include/obelisk_c.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/**
|
|
* @brief Create a obelisk object.
|
|
*
|
|
* @return CObelisk* Returns the obelisk object.
|
|
*/
|
|
CObelisk *create_obelisk();
|
|
|
|
/**
|
|
* @brief Calls the obelisk method getVersion.
|
|
*
|
|
* @param[in] p_obelisk The obelisk object pointer.
|
|
* @return const char* Returns the version. This must be freed by the
|
|
* caller.
|
|
*/
|
|
char *call_obelisk_getVersion(CObelisk *p_obelisk);
|
|
|
|
/**
|
|
* @brief Calls the obelisk method getLibVersion.
|
|
*
|
|
* @param[in] p_obelisk The obelisk object pointer.
|
|
* @return int Returns the library so version.
|
|
*/
|
|
int call_obelisk_getLibVersion(CObelisk *p_obelisk);
|
|
|
|
/**
|
|
* @brief Delete a obelisk object.
|
|
*
|
|
* @param[in] p_obelisk The obelisk object pointer.
|
|
*/
|
|
void destroy_obelisk(CObelisk *p_obelisk);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|