 //  GLib
 //
 //  Created by Rene Hexel on 27/04/2017.
-//  Copyright © 2016, 2017, 2018, 2019 Rene Hexel.  All rights reserved.
+//  Copyright © 2016, 2017, 2018, 2019, 2020 Rene Hexel.  All rights reserved.
 //
 import CGLib
 

    message.utf8CString.withUnsafeBufferPointer {
        guard let base = $0.baseAddress else { return }
        let varargs = [OpaquePointer(base)]
        let va_list = getVaList(varargs)
        g_logv(domain, level, "%s", va_list)
    }
}
#else

    message.utf8CString.withUnsafeBufferPointer {
        guard let base = $0.baseAddress else { return }
        let varargs = [OpaquePointer(base)]
        withVaList(varargs) {
            g_logv(nil, level, "%s", $0)
        }
    }
}

