1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: run wkhtmltopdf only on linux again

This commit is contained in:
Alexander Medvednikov
2021-04-05 07:55:28 +03:00
parent 9cc9ce698f
commit ed37512ea9
4 changed files with 7 additions and 3 deletions

View File

@ -71,7 +71,7 @@ fn main() {
error_code := C.wkhtmltopdf_http_error_code(converter)
println('wkhtmltopdf_http_error_code: $error_code')
if result {
data := &&char(0)
data := &charptr(0)
size := C.wkhtmltopdf_get_output(converter, data)
println('wkhtmltopdf_get_output: $size bytes')
mut file := os.open_file('./google.pdf', 'w+', 0o666) or {