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


Ignore:
Timestamp:
Sep 23, 2024, 8:31:18 PM (8 weeks ago)
Author:
Nishi
Message:

adding cplusplus thing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_module.h

    r39 r140  
    33#ifndef __TW_MODULE_H__
    44#define __TW_MODULE_H__
     5
     6#ifdef __cplusplus
     7extern "C" {
     8#endif
    59
    610#include "tw_config.h"
     
    3438typedef int (*tw_mod_config_t)(struct tw_tool* tools, char** argv, int argc);
    3539
     40#ifdef SOURCE
    3641void* tw_module_load(const char* path);
    3742void* tw_module_symbol(void* mod, const char* sym);
    3843void tw_init_tools(struct tw_tool* tools);
    3944int tw_module_init(void* mod);
     45#endif
     46
     47#ifdef __cplusplus
     48}
     49#endif
    4050
    4151#endif
Note: See TracChangeset for help on using the changeset viewer.