Changeset 315 in Main for trunk/Server/tw_module.h


Ignore:
Timestamp:
Oct 14, 2024, 7:01:02 PM (5 weeks ago)
Author:
Nishi
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_module.h

    r314 r315  
    1616#include <os2.h>
    1717#define MODULE_DECL __export APIENTRY
     18#elif defined(__WATCOMC__)
     19#define MODULE_DECL __export
    1820#else
    1921#define MODULE_DECL
     
    4749#define TW_CONFIG_ERROR _TW_CONFIG_ERROR
    4850
    49 typedef int (MODULE_DECL *tw_mod_init_t)(struct tw_config* config, struct tw_tool* tools);
    50 typedef int (MODULE_DECL *tw_mod_request_t)(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res);
    51 typedef int (MODULE_DECL *tw_mod_config_t)(struct tw_tool* tools, char** argv, int argc);
     51typedef int(MODULE_DECL* tw_mod_init_t)(struct tw_config* config, struct tw_tool* tools);
     52typedef int(MODULE_DECL* tw_mod_request_t)(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res);
     53typedef int(MODULE_DECL* tw_mod_config_t)(struct tw_tool* tools, char** argv, int argc);
    5254
    5355#ifdef SOURCE
Note: See TracChangeset for help on using the changeset viewer.