Mercurial > audlegacy-plugins
changeset 179:b44ab11a64c2 trunk
[svn] - NOOP instruction. What this does is basically takes a slot in a
branch of insns, which means "don't do anything at this position".
author | nenolod |
---|---|
date | Wed, 01 Nov 2006 01:32:26 -0800 |
parents | 62b4e23cb333 |
children | 83d230421dfc |
files | ChangeLog src/paranormal/builtins.c src/paranormal/general.c |
diffstat | 3 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Nov 01 01:12:03 2006 -0800 +++ b/ChangeLog Wed Nov 01 01:32:26 2006 -0800 @@ -1,3 +1,11 @@ +2006-11-01 09:12:03 +0000 William Pitcock <nenolod@nenolod.net> + revision [356] + - add missing declaration + + trunk/src/paranormal/builtins.c | 1 + + 1 file changed, 1 insertion(+) + + 2006-11-01 09:11:20 +0000 William Pitcock <nenolod@nenolod.net> revision [354] - add "Clear Surface" instruction.
--- a/src/paranormal/builtins.c Wed Nov 01 01:12:03 2006 -0800 +++ b/src/paranormal/builtins.c Wed Nov 01 01:32:26 2006 -0800 @@ -27,6 +27,7 @@ DECLARE_ACTUATOR (general_blur); DECLARE_ACTUATOR (general_mosaic); DECLARE_ACTUATOR (general_clear); +DECLARE_ACTUATOR (general_noop); /* **************** wave **************** */ DECLARE_ACTUATOR (wave_horizontal); @@ -60,6 +61,7 @@ &builtin_general_blur, &builtin_general_mosaic, &builtin_general_clear, + &builtin_general_noop, /* **************** wave **************** */ &builtin_wave_horizontal, &builtin_wave_vertical,
--- a/src/paranormal/general.c Wed Nov 01 01:12:03 2006 -0800 +++ b/src/paranormal/general.c Wed Nov 01 01:32:26 2006 -0800 @@ -163,3 +163,18 @@ NULL, NULL, general_clear_exec }; +/* **************** general_noop **************** */ +static void +general_noop_exec (const struct pn_actuator_option *opts, + gpointer data) +{ + return; +} + +struct pn_actuator_desc builtin_general_noop = +{ + "general_noop", "Do Nothing", "Does absolutely nothing.", + 0, NULL, + NULL, NULL, general_noop_exec +}; +