summaryrefslogtreecommitdiff
path: root/src/items.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2012-12-24 20:10:27 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2012-12-24 20:10:27 +0100
commitc5e75352f27a02501b3a1a9189f10a581c12e7fb (patch)
treeb3bdae02b91bbb7ab4f5bb48b9704dbf378ce533 /src/items.h
parentdff418800174265b1a591ac44eb244e2b16f94a5 (diff)
downloadcataract-c5e75352f27a02501b3a1a9189f10a581c12e7fb.tar.xz
block-parser: Add support for custom block functions
Similar to replace-table custom functions, this brings an ability to register custom block functions that can be called from templates with variable arguments. The syntax is as follows: <!-- $(if (function_name(arg1, "arg2", 'arg3'))) --> ... <!-- $(endif (function_name(arg1, "arg2", 'arg3'))) --> An optional exclamation mark before the function name reverts the result (negates) the predicate. This allows template flexibility with respect to the currently processed image.
Diffstat (limited to 'src/items.h')
0 files changed, 0 insertions, 0 deletions