kopia lustrzana https://github.com/Hamlib/Hamlib
Revert rig_get_caps_int -- did not need this change and don't want to break
shared library compatiblitypull/574/head
rodzic
62523709ce
commit
abd8829df1
|
@ -1968,10 +1968,16 @@ enum rig_caps_cptr_e {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Function to return int value from rig->caps
|
* \brief Function to return int value from rig->caps
|
||||||
*
|
* Does not support > 32-bit rig_caps values
|
||||||
*/
|
*/
|
||||||
//! @cond Doxygen_Suppress
|
//! @cond Doxygen_Suppress
|
||||||
extern long long rig_get_caps_int(rig_model_t rig_model, long long rig_caps);
|
extern long long rig_get_caps_int(rig_model_t rig_model, enum rig_caps_int_e rig_caps);
|
||||||
|
/**
|
||||||
|
* \brief Function to return value from rig->caps > 32 bit values
|
||||||
|
* Supports 64-bit rig_caps values
|
||||||
|
*/
|
||||||
|
//! @cond Doxygen_Suppress
|
||||||
|
extern long long rig_get_caps_long(rig_model_t rig_model, long long rig_caps);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Function to return char pointer value from rig->caps
|
* \brief Function to return char pointer value from rig->caps
|
||||||
|
|
|
@ -2146,7 +2146,7 @@ void *rig_get_function_ptr(rig_model_t rig_model,
|
||||||
* \param RIG* and rig_caps_int_e
|
* \param RIG* and rig_caps_int_e
|
||||||
* \return the corresponding long value -- -RIG_EINVAL is the only error possible
|
* \return the corresponding long value -- -RIG_EINVAL is the only error possible
|
||||||
*/
|
*/
|
||||||
long long rig_get_caps_int(rig_model_t rig_model, long long rig_caps)
|
long long rig_get_caps_int(rig_model_t rig_model, enum rig_enum_t rig_caps)
|
||||||
{
|
{
|
||||||
const struct rig_caps *caps = rig_get_caps(rig_model);
|
const struct rig_caps *caps = rig_get_caps(rig_model);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue