00001 00013 #ifndef BPMALLOC_H__ 00014 #define BPMALLOC_H__ 00015 00016 /* ----------------------------------------------------------------------------- 00017 // includes 00018 // -------------------------------------------------------------------------- */ 00019 #include <stdlib.h> 00020 #include <bpm/bpm_defs.h> 00021 00022 /* ----------------------------------------------------------------------------- 00023 // macro definitions 00024 // -------------------------------------------------------------------------- */ 00025 00026 /* ----------------------------------------------------------------------------- 00027 // typedefs, enums and other declarations 00028 // -------------------------------------------------------------------------- */ 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif 00032 00033 00034 /* ----------------------------------------------------------------------------- 00035 // function prototypes and declarations 00036 // -------------------------------------------------------------------------- */ 00037 00046 EXTERN double** alloc_complex_wave_double( int ns ); 00047 00048 00056 EXTERN void free_complex_wave_double( double** w, int ns ); 00057 00058 00067 EXTERN double* alloc_simple_wave_double( int ns ); // alloc simple wave of doubles 00068 00069 00076 EXTERN void free_simple_wave_double( double* w ); 00077 00078 00087 EXTERN int* alloc_simple_wave_int( int ns ); // alloc simple wave of integers 00088 00089 00096 EXTERN void free_simple_wave_int( int *w ); 00097 00098 #ifdef __cplusplus 00099 } 00100 #endif 00101 00102 #endif /* #ifndef BPMUNITS_H_LOADED */ 00103 00104 /* ================================ end of file ============================= */