Open omochi opened 5 years ago
This PR add va_list overload of yajl_gen_config.
yajl_gen_config
I am using this library from my JSON library in Swift. Swift has C Interop feature so I use yajl API directly from Swift.
https://github.com/omochi/FineJSON/blob/master/Sources/FineJSON/JSONSerialize.swift
Unfortunately, Swift can not call variadic argument function in C. This is limitation of interop feature. But it can handle va_list normally.
va_list
So I want to add this overload.
This PR add va_list overload of
yajl_gen_config
.I am using this library from my JSON library in Swift. Swift has C Interop feature so I use yajl API directly from Swift.
https://github.com/omochi/FineJSON/blob/master/Sources/FineJSON/JSONSerialize.swift
Unfortunately, Swift can not call variadic argument function in C. This is limitation of interop feature. But it can handle
va_list
normally.So I want to add this overload.