diff options
author | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-10-29 16:30:06 +0200 |
---|---|---|
committer | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-10-29 16:30:06 +0200 |
commit | d7a62e9eda3d64c5f0d4c1e8f767ca698b7a8df2 (patch) | |
tree | ef82541f935ec7f689d589a5274a05a93ed77645 /src/patterns.h | |
parent | f8931f2f37f79f36d1b8ad8e4d6908e6bdfcaf4f (diff) | |
download | ffts-d7a62e9eda3d64c5f0d4c1e8f767ca698b7a8df2.zip ffts-d7a62e9eda3d64c5f0d4c1e8f767ca698b7a8df2.tar.gz |
Patterns doesn't depend on plan
Diffstat (limited to 'src/patterns.h')
-rw-r--r-- | src/patterns.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/patterns.h b/src/patterns.h index 699a0e5..680c6e0 100644 --- a/src/patterns.h +++ b/src/patterns.h @@ -1,10 +1,10 @@ /* - + This file is part of FFTS -- The Fastest Fourier Transform in the South - + Copyright (c) 2012, Anthony M. Blake <amb@anthonix.com> - Copyright (c) 2012, The University of Waikato - + Copyright (c) 2012, The University of Waikato + All rights reserved. Redistribution and use in source and binary forms, with or without @@ -31,15 +31,16 @@ */ +#ifndef FFTS_PATTERNS_H +#define FFTS_PATTERNS_H -#ifndef __PATTERNS_H__ -#define __PATTERNS_H__ +#if defined (_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif -#include "ffts.h" +#include <stddef.h> -void ffts_init_is(ffts_plan_t *p, int N, int leafN, int VL); -void ffts_init_offsets(ffts_plan_t *p, int N, int leafN); -//void ffts_init_tree(ffts_plan_t *p, int N, int leafN); +ptrdiff_t *ffts_init_is(int N, int leaf_N, int VL); +ptrdiff_t *ffts_init_offsets(int N, int leaf_N); -#endif -// vim: set autoindent noexpandtab tabstop=3 shiftwidth=3: +#endif /* FFTS_PATTERNS_H */ |