bugfix: return type of gtk2.check_menu_item_new*
This commit is contained in:
parent
41e8f99d3b
commit
41afb4ee58
6 changed files with 359 additions and 10 deletions
|
|
@ -130,7 +130,7 @@ proc replaceStr*(s: string, sub, by: char): string {.noSideEffect, deprecated.}
|
|||
## **Deprecated since version 0.8.0**: Use `replace` instead.
|
||||
|
||||
proc deleteStr*(s: var string, first, last: int) {.deprecated.}
|
||||
## Deletes in `s` the characters at position `first`..`last`. This modifies
|
||||
## Deletes in `s` the characters at position `first` .. `last`. This modifies
|
||||
## `s` itself, it does not return a copy.
|
||||
## **Deprecated since version 0.8.0**: Use `delete` instead.
|
||||
|
||||
|
|
@ -665,7 +665,7 @@ proc delete*(s: var string, first, last: int) =
|
|||
|
||||
proc replaceStr(s, sub, by: string): string = return replace(s, sub, by)
|
||||
proc replaceStr(s: string, sub, by: char): string = return replace(s, sub, by)
|
||||
proc deleteStr*(s: var string, first, last: int) = delete(s, first, last)
|
||||
proc deleteStr(s: var string, first, last: int) = delete(s, first, last)
|
||||
|
||||
# parsing numbers:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue