12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef _WFD_APP_H_
- #define _WFD_APP_H_
- #include <stdio.h>
- //#include <gsl.h>
- #define WFD_APP_DEBUG
- #define WFD_APP_TRACE
- #define WFD_APP_ERROR
- #ifdef WFD_APP_DEBUG
- #define wfd_app_printf(fmt, arg...) printf("[WFDApp]"fmt,##arg)
- #else
- #define wfd_app_printf(a,...) do{}while(0)
- #endif
- #ifdef WFD_APP_TRACE
- #define wfd_app_trace(fmt, arg...) printf("[WFDApp][FUNCTION]%s:[LINE]%d\n",__FUNCTION__,__LINE__)
- #else
- #define wfd_app_trace(a,...) do{}while(0)
- #endif
- #ifdef WFD_APP_ERROR
- #define wfd_app_error(fmt, arg...) printf("[WFDApp][ERROR]"fmt,##arg)
- #else
- #define wfd_app_error(a,...) do{}while(0)
- #endif
- #define WFD_RET_SUCCESS 0
- #define WFD_RET_FAIL -1
- extern SysAppInstDef stWFDAppInst;
- #endif
|