浏览该文件的文档. 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 26 using namespace winux;
34 #define GET_RUNPARAM(type) ((type)__runParam) 36 #define BEGIN_WEB_MAIN( RSP, REQ, APP ) \ 37 FASTDO_API int WebMain( Response * __rsp, void * __runParam ) { \ 38 Response & RSP = *__rsp; \ 39 Request & REQ = __rsp->req; \ 40 FcgiApp & APP = *REQ.fcgiApp; \ 43 #define END_WEB_MAIN(RSP) \ 44 } catch ( std::exception const & e ) { \ 45 cout << e.what() << endl; \ 47 cout << "Unknown error" << endl; \ 52 #endif // __FASTDO_HPP__