diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-04-15 21:37:44 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-04-15 21:37:44 +0200 |
| commit | c5f23c17a14bbe07042f46be90fe2b2e465436c7 (patch) | |
| tree | 2b5190d0ff7dc10fae37d16d8fc8dcc587765366 /src/jpeg-utils.h | |
| parent | 4d45fb66b44ba67d698b2052184fa9cadb48ea5e (diff) | |
| download | cataract-c5f23c17a14bbe07042f46be90fe2b2e465436c7.tar.xz | |
replace-table: Add support for custom functions
This adds a support for custom (registered) functions that can be called
from templates with specified arguments.
The syntax is as follows:
<!-- $(function_name(arg1, "arg2", 'arg3')) -->
Arguments are separated by a comma and can be quoted (recommended).
Quoted arguments are allowed to contain a comma as well as another
quote when escaped with a backslash.
To call a function with no arguments just do "function_name()".
Functions are supposed to be registered before actual data are parsed
and are called back from within the parser cycle.
Diffstat (limited to 'src/jpeg-utils.h')
0 files changed, 0 insertions, 0 deletions
