diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-06 23:09:20 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-06 23:09:20 +0100 |
commit | 4eff13d7685752246ca311a2fdcc9d6e6eb7f63e (patch) | |
tree | acba5c19ff4187a9b16be4e8a574b687e2bdbb8c /doc/classes/IP.xml | |
parent | c5c320412f9f26a13ff8cade56ed80ce6d97f11f (diff) |
doc: Markup fixes for enums and constants
Diffstat (limited to 'doc/classes/IP.xml')
-rw-r--r-- | doc/classes/IP.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/IP.xml b/doc/classes/IP.xml index b8b5f0bd39..bfc645b8e7 100644 --- a/doc/classes/IP.xml +++ b/doc/classes/IP.xml @@ -65,7 +65,7 @@ <argument index="0" name="id" type="int"> </argument> <description> - Returns a queued hostname's status as a [code]RESOLVER_STATUS_*[/code] constant, given its queue [code]id[/code]. + Returns a queued hostname's status as a [enum ResolverStatus] constant, given its queue [code]id[/code]. </description> </method> <method name="resolve_hostname"> @@ -76,7 +76,7 @@ <argument index="1" name="ip_type" type="int" enum="IP.Type" default="3"> </argument> <description> - Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the [code]TYPE_*[/code] constant given as [code]ip_type[/code]. + Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the [enum Type] constant given as [code]ip_type[/code]. </description> </method> <method name="resolve_hostname_queue_item"> @@ -87,7 +87,7 @@ <argument index="1" name="ip_type" type="int" enum="IP.Type" default="3"> </argument> <description> - Creates a queue item to resolve a hostname to an IPv4 or IPv6 address depending on the [code]TYPE_*[/code] constant given as [code]ip_type[/code]. Returns the queue ID if successful, or [constant RESOLVER_INVALID_ID] on error. + Creates a queue item to resolve a hostname to an IPv4 or IPv6 address depending on the [enum Type] constant given as [code]ip_type[/code]. Returns the queue ID if successful, or [constant RESOLVER_INVALID_ID] on error. </description> </method> </methods> |