[master] 68684fec9 Use VCL_BYTES instead of int64_t return type for VRT_stevedore_*()

Poul-Henning Kamp phk at FreeBSD.org
Mon May 31 10:51:06 UTC 2021


commit 68684fec9f52afbf47c8ed72b1086951ae1ee9f1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 31 10:49:56 2021 +0000

    Use VCL_BYTES instead of int64_t return type for VRT_stevedore_*()

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 1b23b6282..c1117905a 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -760,7 +760,7 @@ parse_var_doc(join(srcroot, "doc/sphinx/reference/vcl_var.rst"))
 fo.write("}\n")
 
 for i in stv_variables:
-    fh.write(vcltypes[i[1]].c + " VRT_stevedore_" + i[0] + "(VCL_STEVEDORE);\n")
+    fh.write("VCL_" + i[1] + " VRT_stevedore_" + i[0] + "(VCL_STEVEDORE);\n")
 
 fo.write("\n/* VCL type identifiers */\n")
 


More information about the varnish-commit mailing list