浏览该文件的文档. 5 #define EXTERN_C extern "C" 11 #pragma warning ( disable : 4190 ) 12 #define FASTDO_API EXTERN_C __declspec(dllexport) 14 #define FASTDO_API EXTERN_C 27 using namespace winux;
36 #define GET_RUNPARAM(type) ((type)__runParam) 38 #define BEGIN_WEB_MAIN( RSP, REQ, APP ) \ 39 FASTDO_API int WebMain( Response * __rsp, void * __runParam ) { \ 40 Response & RSP = *__rsp; \ 41 Request & REQ = __rsp->request; \ 42 App & APP = *REQ.app; \ 45 #define END_WEB_MAIN(RSP) \ 46 } catch ( std::exception const & e ) { \ 47 RSP << e.what() << endl; \ 49 RSP << "Unknown error" << endl; \ 54 #endif // __FASTDO_HPP__