summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/includes
diff options
context:
space:
mode:
authorjofret2010-09-01 12:02:11 +0000
committerjofret2010-09-01 12:02:11 +0000
commite4c535c4c8f73355c18df2e214362cbad2afc8ca (patch)
tree7da75de194a797b4c08c6d4a66f2f73cfe4382a0 /src/c/auxiliaryFunctions/includes
parent78b507b47dfefe3f7162ca59c4aa648fc104e18f (diff)
downloadscilab2c-e4c535c4c8f73355c18df2e214362cbad2afc8ca.tar.gz
scilab2c-e4c535c4c8f73355c18df2e214362cbad2afc8ca.tar.bz2
scilab2c-e4c535c4c8f73355c18df2e214362cbad2afc8ca.zip
Adding size function with 'c', 'r' or '*' as parameter
Diffstat (limited to 'src/c/auxiliaryFunctions/includes')
-rw-r--r--src/c/auxiliaryFunctions/includes/size.h72
1 files changed, 1 insertions, 71 deletions
diff --git a/src/c/auxiliaryFunctions/includes/size.h b/src/c/auxiliaryFunctions/includes/size.h
index 3a642e3a..ebc07a05 100644
--- a/src/c/auxiliaryFunctions/includes/size.h
+++ b/src/c/auxiliaryFunctions/includes/size.h
@@ -14,82 +14,12 @@
#define __SIZE_H__
/**
- ** WARNING :
- ** We assume size of arrays are known, so we
- ** use #define to avoid compilation warnings
- ** such as "unused parameter"
- **/
-
-/**
- ** \brief Float Size Scalar function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define ssizes(in) 1.0f
-
-/**
- ** \brief Float Size Scalar function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define dsizes(in) 1.0
-
-/**
- ** \brief Complex Float Size Scalar function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define csizes(in) 1.0f
-
-/**
- ** \brief Complex Double Size Array function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define zsizes(in) 1.0
-
-/**
- ** \brief Float Size Array function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define ssizea(in, size) size
-
-/**
** \brief Double Size Array function
** Determine the size of an array.
** \param in : the float array we must determine size.
** \param size : the number of elements.
** \return the size of in.
**/
-#define dsizea(in, size) size
-
-/**
- ** \brief Complex Float Size Array function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define csizea(in, size) size
-
-/**
- ** \brief Complex Double Size Array function
- ** Determine the size of an array.
- ** \param in : the float array we must determine size.
- ** \param size : the number of elements.
- ** \return the size of in.
- **/
-#define zsizea(in, size) size
+double dallsizea(int *size, char *select);
#endif /* !__SIZE_H__ */