[master] c722eb774 Swap isomorphism subjects
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri May 3 16:15:08 UTC 2019
commit c722eb774e4fd5412de94a9cc01a49d9f0f3f76d
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri May 3 18:06:29 2019 +0200
Swap isomorphism subjects
In this order it becomes possible to use VCL_VOID transparently as void
without having to declare it again as a typedef. It doesn't matter for
VRT_CTX because it tends to be easier to use it instead of its actual
C type (with the typedef-in-patch penalty).
Wave in my general direction if you're not slink and yet can make sense
of the previous paragraph.
diff --git a/tools/coccinelle/varnish.iso b/tools/coccinelle/varnish.iso
index 1beb51e90..8bbc11c53 100644
--- a/tools/coccinelle/varnish.iso
+++ b/tools/coccinelle/varnish.iso
@@ -25,11 +25,11 @@ Type
type VCL_VOID;
@@
-VCL_VOID <=> void
+void <=> VCL_VOID
Type
@ vcl_bool @
type VCL_BOOL;
@@
-VCL_BOOL <=> unsigned
+unsigned <=> VCL_BOOL
More information about the varnish-commit
mailing list