mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-20 19:50:36 +01:00
libnm,docs: ignore NM_DEPRECATED_IN_..._GUARDS
gtk-doc gets confused by these, ignore them:
common.py:ParseFunctionDeclaration:541:WARNING:Cannot parse args for
function in "nm_device_get_hw_address) const char
*nm_device_dummy_get_hw_address(NMDeviceDummy *device
common.py:ParseFunctionDeclaration:541:WARNING:Cannot parse args for
function in "nm_device_get_ports) const GPtrArray
*nm_device_ovs_port_get_slaves(NMDeviceOvsPort *device
For some reason it's still confused if NM_AVAILABLE_* comes first.
I refuse to look into that, just reorder them.
This commit is contained in:
parent
1330292d05
commit
612c00529b
8 changed files with 8 additions and 8 deletions
|
|
@ -24,7 +24,7 @@ DOC_SOURCE_DIR= \
|
|||
$(NULL)
|
||||
|
||||
# Extra options to supply to gtkdoc-scan.
|
||||
SCAN_OPTIONS=--rebuild-types --rebuild-sections --ignore-decorators="NM_AVAILABLE_IN_\d_\d\d?|NM_DEPRECATED_IN_\d_\d\d?"
|
||||
SCAN_OPTIONS=--rebuild-types --rebuild-sections --ignore-decorators='NM_AVAILABLE_IN_\d+_\d+|NM_DEPRECATED_IN_\d+_\d+|NM_DEPRECATED_IN_\d+_\d+_FOR\(\)'
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb.
|
||||
MKDB_OPTIONS=--sgml-mode --output-format=xml
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ private_headers = [
|
|||
scan_args = [
|
||||
'--rebuild-types',
|
||||
'--rebuild-sections',
|
||||
'--ignore-decorators=NM_AVAILABLE_IN_\d_\d\d?|NM_DEPRECATED_IN_\d_\d\d?',
|
||||
'--ignore-decorators=NM_AVAILABLE_IN_\d+_\d+|NM_DEPRECATED_IN_\d+_\d+|NM_DEPRECATED_IN_\d+_\d+_FOR\(\)',
|
||||
'--ignore-headers=' + ' '.join(private_headers),
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ typedef struct _NMDeviceDummyClass NMDeviceDummyClass;
|
|||
|
||||
GType nm_device_dummy_get_type(void);
|
||||
|
||||
NM_AVAILABLE_IN_1_10
|
||||
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
|
||||
NM_AVAILABLE_IN_1_10
|
||||
const char *nm_device_dummy_get_hw_address(NMDeviceDummy *device);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ GType nm_device_macsec_get_type(void);
|
|||
NM_AVAILABLE_IN_1_42
|
||||
NMDevice *nm_device_macsec_get_parent(NMDeviceMacsec *device);
|
||||
|
||||
NM_AVAILABLE_IN_1_6
|
||||
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
|
||||
NM_AVAILABLE_IN_1_6
|
||||
const char *nm_device_macsec_get_hw_address(NMDeviceMacsec *device);
|
||||
|
||||
NM_AVAILABLE_IN_1_6
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ gboolean nm_device_macvlan_get_no_promisc(NMDeviceMacvlan *device);
|
|||
NM_AVAILABLE_IN_1_2
|
||||
gboolean nm_device_macvlan_get_tap(NMDeviceMacvlan *device);
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
|
||||
NM_AVAILABLE_IN_1_2
|
||||
const char *nm_device_macvlan_get_hw_address(NMDeviceMacvlan *device);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ typedef struct _NMDeviceTunClass NMDeviceTunClass;
|
|||
NM_AVAILABLE_IN_1_2
|
||||
GType nm_device_tun_get_type(void);
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
|
||||
NM_AVAILABLE_IN_1_2
|
||||
const char *nm_device_tun_get_hw_address(NMDeviceTun *device);
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ typedef struct _NMDeviceVxlanClass NMDeviceVxlanClass;
|
|||
NM_AVAILABLE_IN_1_2
|
||||
GType nm_device_vxlan_get_type(void);
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
|
||||
NM_AVAILABLE_IN_1_2
|
||||
const char *nm_device_vxlan_get_hw_address(NMDeviceVxlan *device);
|
||||
|
||||
NM_AVAILABLE_IN_1_42
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ typedef struct _NMDeviceWifiP2PClass NMDeviceWifiP2PClass;
|
|||
NM_AVAILABLE_IN_1_16
|
||||
GType nm_device_wifi_p2p_get_type(void);
|
||||
|
||||
NM_AVAILABLE_IN_1_16
|
||||
NM_DEPRECATED_IN_1_24_FOR(nm_device_get_hw_address)
|
||||
NM_AVAILABLE_IN_1_16
|
||||
const char *nm_device_wifi_p2p_get_hw_address(NMDeviceWifiP2P *device);
|
||||
|
||||
NM_AVAILABLE_IN_1_42
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue