kopia lustrzana https://github.com/Hamlib/Hamlib
Add missing shared library API exports
rodzic
73464a6c2e
commit
9d38e9a726
|
@ -1969,7 +1969,7 @@ enum rig_function_e {
|
|||
*
|
||||
*/
|
||||
//! @cond Doxygen_Suppress
|
||||
extern void *rig_get_function_ptr(rig_model_t rig_model, enum rig_function_e rig_function);
|
||||
extern HAMLIB_EXPORT (void *) rig_get_function_ptr(rig_model_t rig_model, enum rig_function_e rig_function);
|
||||
|
||||
/**
|
||||
* \brief Enumeration of rig->caps values
|
||||
|
@ -1997,14 +1997,14 @@ enum rig_caps_cptr_e {
|
|||
* Does not support > 32-bit rig_caps values
|
||||
*/
|
||||
//! @cond Doxygen_Suppress
|
||||
extern long long rig_get_caps_int(rig_model_t rig_model, enum rig_caps_int_e rig_caps);
|
||||
extern HAMLIB_EXPORT (long long) rig_get_caps_int(rig_model_t rig_model, enum rig_caps_int_e rig_caps);
|
||||
|
||||
/**
|
||||
* \brief Function to return char pointer value from rig->caps
|
||||
*
|
||||
*/
|
||||
//! @cond Doxygen_Suppress
|
||||
extern const char* rig_get_caps_cptr(rig_model_t rig_model, enum rig_caps_cptr_e rig_caps);
|
||||
extern HAMLIB_EXPORT (const char *) rig_get_caps_cptr(rig_model_t rig_model, enum rig_caps_cptr_e rig_caps);
|
||||
|
||||
/**
|
||||
* \brief Port definition
|
||||
|
|
|
@ -1877,8 +1877,8 @@ const char *HAMLIB_API rot_strstatus(rot_status_t status)
|
|||
* \param RIG* and rig_function_e
|
||||
* \return the corresponding function pointer
|
||||
*/
|
||||
void *rig_get_function_ptr(rig_model_t rig_model,
|
||||
enum rig_function_e rig_function)
|
||||
void * HAMLIB_API rig_get_function_ptr(rig_model_t rig_model,
|
||||
enum rig_function_e rig_function)
|
||||
{
|
||||
const struct rig_caps *caps = rig_get_caps(rig_model);
|
||||
|
||||
|
@ -2150,7 +2150,7 @@ void *rig_get_function_ptr(rig_model_t rig_model,
|
|||
* \param RIG* and rig_caps_int_e
|
||||
* \return the corresponding long value -- -RIG_EINVAL is the only error possible
|
||||
*/
|
||||
long long rig_get_caps_int(rig_model_t rig_model, enum rig_caps_int_e rig_caps)
|
||||
long long HAMLIB_API rig_get_caps_int(rig_model_t rig_model, enum rig_caps_int_e rig_caps)
|
||||
{
|
||||
const struct rig_caps *caps = rig_get_caps(rig_model);
|
||||
|
||||
|
@ -2177,7 +2177,7 @@ long long rig_get_caps_int(rig_model_t rig_model, enum rig_caps_int_e rig_caps)
|
|||
}
|
||||
}
|
||||
|
||||
const char *rig_get_caps_cptr(rig_model_t rig_model,
|
||||
const char * HAMLIB_API rig_get_caps_cptr(rig_model_t rig_model,
|
||||
enum rig_caps_cptr_e rig_caps)
|
||||
{
|
||||
const struct rig_caps *caps = rig_get_caps(rig_model);
|
||||
|
|
Ładowanie…
Reference in New Issue