diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-01-29 11:30:11 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-01-29 11:30:11 +0000 |
commit | 592c723d7fe2dc8794182d6270a127e63f6e2973 (patch) | |
tree | 9359c33fef1c62ab5122df9281baeafa04f4353a /examples/simpletest/simpletest.c | |
parent | 64d6de56068584a090e555abf49a16d6bdf97696 (diff) | |
download | LibXtract-592c723d7fe2dc8794182d6270a127e63f6e2973.tar.gz LibXtract-592c723d7fe2dc8794182d6270a127e63f6e2973.tar.bz2 LibXtract-592c723d7fe2dc8794182d6270a127e63f6e2973.zip |
Added namespacing to enumerations and defines. Made most macros private.
Diffstat (limited to 'examples/simpletest/simpletest.c')
-rw-r--r-- | examples/simpletest/simpletest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/simpletest/simpletest.c b/examples/simpletest/simpletest.c index 1ba066f..45df60a 100644 --- a/examples/simpletest/simpletest.c +++ b/examples/simpletest/simpletest.c @@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#define XTRACT #include "xtract/libxtract.h" #include <stdio.h> @@ -24,7 +23,7 @@ int main() { float mean = 0, vector[] = {1, 2, 3}; - xtract[MEAN]((void *)&vector, 3, NULL, (void *)&mean); + xtract[XTRACT_MEAN]((void *)&vector, 3, NULL, (void *)&mean); printf("\nThe mean of [1, 2, 3] = %.1f\n\n", mean); |