From 1c2033c17f6d70f76b7a5b1b867a198e15b109a5 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sun, 18 Jun 2023 07:45:45 -0500 Subject: [PATCH] Add comment to rig.h about not modifying callbacks structure --- include/hamlib/rig.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 690e7b719..490bab24b 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -2853,6 +2853,7 @@ typedef int (*spectrum_cb_t)(RIG *, * \sa rig_set_freq_callback(), rig_set_mode_callback(), rig_set_vfo_callback(), * rig_set_ptt_callback(), rig_set_dcd_callback() */ +// Do NOT add/remove from this structure -- it will break DLL backwards compatiblity struct rig_callbacks { freq_cb_t freq_event; /*!< Frequency change event */ rig_ptr_t freq_arg; /*!< Frequency change argument */