Remvoe the visibility on these, given their forward declarations already
specify it.
This commit is contained in:
parent
c179d10897
commit
e214308cb1
1 changed files with 2 additions and 2 deletions
|
|
@ -1250,7 +1250,7 @@ proc parseIPv6Address(address_str: string): TIpAddress =
|
||||||
raise newException(ValueError,
|
raise newException(ValueError,
|
||||||
"Invalid IP Address. The address consists of too many groups")
|
"Invalid IP Address. The address consists of too many groups")
|
||||||
|
|
||||||
proc parseIpAddress*(address_str: string): TIpAddress =
|
proc parseIpAddress(address_str: string): TIpAddress =
|
||||||
## Parses an IP address
|
## Parses an IP address
|
||||||
## Raises EInvalidValue on error
|
## Raises EInvalidValue on error
|
||||||
if address_str == nil:
|
if address_str == nil:
|
||||||
|
|
@ -1261,7 +1261,7 @@ proc parseIpAddress*(address_str: string): TIpAddress =
|
||||||
return parseIPv4Address(address_str)
|
return parseIPv4Address(address_str)
|
||||||
|
|
||||||
|
|
||||||
proc isIpAddress*(address_str: string): bool =
|
proc isIpAddress(address_str: string): bool =
|
||||||
## Checks if a string is an IP address
|
## Checks if a string is an IP address
|
||||||
## Returns true if it is, false otherwise
|
## Returns true if it is, false otherwise
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue