You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
405 B

/*
* __FILE__, __LINE__, __func__ are wrapped. Especially __func__ is a
* problem because it is not available even in some compilers which try
* to be C99 compatible (e.g. VBCC with -c99 option).
*/
#define DUK_FILE_MACRO __FILE__
#define DUK_LINE_MACRO __LINE__
#if !defined(DUK_F_VBCC) && !defined(DUK_F_MSVC)
#define DUK_FUNC_MACRO __func__
#else
#define DUK_FUNC_MACRO "unknown"
#endif