Fix VaArgs configuration.
This commit is contained in:
parent
3573aa9144
commit
e6232bdccb
|
@ -16,3 +16,4 @@ Classes = [
|
||||||
]
|
]
|
||||||
SysImports = [ "Foundation/Foundation.h" ]
|
SysImports = [ "Foundation/Foundation.h" ]
|
||||||
Pragma = [ 'clang diagnostic ignored "-Wformat-security"' ]
|
Pragma = [ 'clang diagnostic ignored "-Wformat-security"' ]
|
||||||
|
VaArgs = 32
|
||||||
|
|
3
main.go
3
main.go
|
@ -173,8 +173,9 @@ func Start() (err error) {
|
||||||
w.SysImport(Config.SysImports)
|
w.SysImport(Config.SysImports)
|
||||||
w.Pragma(Config.Pragma)
|
w.Pragma(Config.Pragma)
|
||||||
if Config.VaArgs == 0 {
|
if Config.VaArgs == 0 {
|
||||||
w.VaArgs = 16
|
Config.VaArgs = 16
|
||||||
}
|
}
|
||||||
|
w.VaArgs = Config.VaArgs
|
||||||
for _, u := range tree {
|
for _, u := range tree {
|
||||||
for _, n := range(u.Children()) {
|
for _, n := range(u.Children()) {
|
||||||
switch x := n.(type) {
|
switch x := n.(type) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user