Skip to content

VIP2: VCL typed functions

Poul-Henning Kamp edited this page Mar 7, 2016 · 1 revision

Synopsis

Add support for "real" VCL functions, which takes arguments and has return values, using the same VCL_* types as VMODS.

    def STRING
    foobar(INTEGER a1, BACKEND a2, STRING_LIST a3) {
            ...
    }

Why?

This will make it easier to produce and use packages and libraries of VCL code.

How?

The same infrastructure used for VMOD functions can be used for VCL functions.

Clone this wiki locally