put doc ignore on compatibility definitions

This commit is contained in:
Riccardo Mottola 2023-11-20 22:24:53 +01:00
parent 08411ea68f
commit 2127eff64b
3 changed files with 9 additions and 1 deletions

View file

@ -472,6 +472,7 @@ static inline void
DPSWriteData(GSCTXT *ctxt, const char * buf, unsigned int count)
__attribute__((unused));
/** <ignore> These are duplicate definitions for MSVC, let's ignore them for autogsdoc */
#ifdef _MSC_VER
#define DPS_FUNCTION(type, name) static inline type \
name(GSCTXT *ctxt) \
@ -589,7 +590,8 @@ name(GSCTXT *ctxt, type1 var1, type2 var2, type3 var3, type4 var4, type5 var5, t
(ctxt->methods->name ## ________) \
(ctxt, @selector(name: : : : : : : :), var1, var2, var3, var4, var5, var6, var7, var8); \
}
#endif
#endif // _MSVC_VER
/** </ignore> */
/* ----------------------------------------------------------------------- */
/* Color operations */

View file

@ -101,7 +101,9 @@ APPKIT_EXPORT_CLASS
@optional
#endif
#else
/** <ignore> */
@interface NSObject (NSComboBoxDataSource)
/** </ignore> */
#endif
- (NSInteger) numberOfItemsInComboBox: (NSComboBox *)aComboBox;
- (id) comboBox: (NSComboBox *)aComboBox objectValueForItemAtIndex:(NSInteger)index;
@ -120,7 +122,9 @@ APPKIT_EXPORT_CLASS
@optional
#endif
#else
/** <ignore> */
@interface NSObject (NSComboBoxNotifications)
/** </ignore> */
#endif
- (void) comboBoxWillPopUp: (NSNotification *)notification;
- (void) comboBoxWillDismiss: (NSNotification *)notification;

View file

@ -114,7 +114,9 @@ APPKIT_EXPORT_CLASS
@optional
#endif
#else
/** <ignore> */
@interface NSObject (NSTabViewDelegate)
/** </ignore */
#endif
- (BOOL)tabView:(NSTabView *)tabView shouldSelectTabViewItem:(NSTabViewItem *)tabViewItem;
- (void)tabView:(NSTabView *)tabView willSelectTabViewItem:(NSTabViewItem *)tabViewItem;