diff options
author | David Robillard <d@drobilla.net> | 2015-10-04 19:28:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-04 19:28:20 +0000 |
commit | 1bdcf3843770e085adbb7d665153b7a4d6ee7b7b (patch) | |
tree | b31c74f3e9f37915a42d42d69736af3528dad9a6 /test/missing_plugin.lv2/missing_plugin.c | |
parent | 464659f73bddf4a7d7b254ca3191cc1bf6dc9a31 (diff) | |
download | lilv-1bdcf3843770e085adbb7d665153b7a4d6ee7b7b.tar.gz lilv-1bdcf3843770e085adbb7d665153b7a4d6ee7b7b.tar.bz2 lilv-1bdcf3843770e085adbb7d665153b7a4d6ee7b7b.zip |
Improve test coverage
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5742 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/missing_plugin.lv2/missing_plugin.c')
-rw-r--r-- | test/missing_plugin.lv2/missing_plugin.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/missing_plugin.lv2/missing_plugin.c b/test/missing_plugin.lv2/missing_plugin.c new file mode 100644 index 0000000..577d42a --- /dev/null +++ b/test/missing_plugin.lv2/missing_plugin.c @@ -0,0 +1,28 @@ +/* + Lilv Test Plugin - Missing plugin + Copyright 2011-2015 David Robillard <d@drobilla.net> + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ + +#include <stdlib.h> + +#include "lv2/lv2plug.in/ns/lv2core/lv2.h" + +#define PLUGIN_URI "http://example.org/missing-plugin" + +LV2_SYMBOL_EXPORT +const LV2_Descriptor* lv2_descriptor(uint32_t index) +{ + return NULL; +} |