[update] y_tensor_h : add ifndef before IMPLEMENTATIONS
This commit is contained in:
@@ -147,6 +147,7 @@ long diff_timespec_nanoseconds(struct timespec time_stop, struct timespec time_s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef IMPLEMENTATION_TOOLS
|
||||||
#define IMPLEMENTATION_TOOLS()\
|
#define IMPLEMENTATION_TOOLS()\
|
||||||
\
|
\
|
||||||
GEN_TO_STR_N(TYPE_CHAR,2,"%c")\
|
GEN_TO_STR_N(TYPE_CHAR,2,"%c")\
|
||||||
@@ -266,7 +267,7 @@ long diff_timespec_nanoseconds(struct timespec time_stop, struct timespec time_s
|
|||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
|
|
||||||
|
#endif /* IMPLEMENTATION_TOOLS */
|
||||||
|
|
||||||
#ifndef __DIMENSION_T_H__
|
#ifndef __DIMENSION_T_H__
|
||||||
#define __DIMENSION_T_H__
|
#define __DIMENSION_T_H__
|
||||||
@@ -367,6 +368,7 @@ GEN_HEAD_PTR_LIST(ptr_DIMENSION)
|
|||||||
#define min(x,y) (((x)<(y))?(x):(y))
|
#define min(x,y) (((x)<(y))?(x):(y))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef IMPLEMENTATION_DIMENSION
|
||||||
#define IMPLEMENTATION_DIMENSION()\
|
#define IMPLEMENTATION_DIMENSION()\
|
||||||
\
|
\
|
||||||
bool littleEndian=true;\
|
bool littleEndian=true;\
|
||||||
@@ -786,4 +788,5 @@ GEN_FUNC_PTR_LIST_FREE(ptr_DIMENSION){\
|
|||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
|
|
||||||
|
#endif /* IMPLEMENTATION_DIMENSION */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user