mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Remove default value
This commit is contained in:
@@ -30,7 +30,7 @@ TS_XML_Options := xml.Options{
|
|||||||
parse_qt_linguist_from_bytes :: proc(data: []byte, options := DEFAULT_PARSE_OPTIONS, pluralizer: proc(int) -> int = nil, allocator := context.allocator) -> (translation: ^Translation, err: Error) {
|
parse_qt_linguist_from_bytes :: proc(data: []byte, options := DEFAULT_PARSE_OPTIONS, pluralizer: proc(int) -> int = nil, allocator := context.allocator) -> (translation: ^Translation, err: Error) {
|
||||||
context.allocator = allocator
|
context.allocator = allocator
|
||||||
|
|
||||||
get_str :: proc(val: xml.Value, intern: ^strings.Intern = nil) -> (str: string, err: Error) {
|
get_str :: proc(val: xml.Value, intern: ^strings.Intern) -> (str: string, err: Error) {
|
||||||
v, ok := val.(string)
|
v, ok := val.(string)
|
||||||
if ok {
|
if ok {
|
||||||
if intern != nil {
|
if intern != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user