From 889c9e9a0d28ef7d86dfe1fdf1fa0a7ae210937f Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Fri, 26 Mar 2010 13:50:16 +0100 Subject: [PATCH] skeleton: added two more comments --- plugins/skeleton.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/skeleton.py b/plugins/skeleton.py index 8d4305f..0b427f1 100644 --- a/plugins/skeleton.py +++ b/plugins/skeleton.py @@ -142,7 +142,9 @@ def finish(params): -# TODO: Description missing +# +# This is a sample macro. Macros are called with [!name]. +# @set_macro("sample") def sample_macro(params): if cfg.test_verbose: @@ -151,7 +153,9 @@ def sample_macro(params): -# TODO: Description missing +# +# This is a sample function. Functions are called with ${name(args)}. +# @set_function("func") def sample_func(): if cfg.test_verbose: -- 2.39.2