Commit 535192c3 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Timid start of Coccinelle type isomorphisms

This way we don't need to constantly deal with typedef ORing when we
encounter a varnish-defined type. We still need to declare typedefs
that we use, but it's already one order of magnitude more convenient.
parent 2c8d4a78
/*
* This file contains isomorphisms specific to the Varnish code base and
* out of tree Varnish projects such as VUTs for VMODs.
*
* It can be used directly by semantic patches from the same directory
* with the following syntax:
*
* using "varnish.iso"
*
* XXX: way incomplete.
* XXX: consider autogeneration.
*/
/* This section contains VCL types used by VMODs */
Type
@ vrt_ctx @
type VRT_CTX;
@@
VRT_CTX <=> const struct vrt_ctx *
Type
@ vcl_void @
type VCL_VOID;
@@
VCL_VOID <=> void
Type
@ vcl_bool @
type VCL_BOOL;
@@
VCL_BOOL <=> unsigned
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment