Index: xvfs-core.h ================================================================== --- xvfs-core.h +++ xvfs-core.h @@ -2,10 +2,14 @@ #define XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817 1 #include #define XVFS_PROTOCOL_VERSION 1 + +#ifdef __cplusplus +extern "C" { +#endif typedef const char **(*xvfs_proc_getChildren_t)(const char *path, Tcl_WideInt *count); typedef const unsigned char *(*xvfs_proc_getData_t)(const char *path, Tcl_WideInt start, Tcl_WideInt *length); typedef int (*xvfs_proc_getStat_t)(const char *path, Tcl_StatBuf *statBuf); @@ -85,5 +89,9 @@ #if defined(XVFS_MODE_FLEXIBLE) || defined(XVFS_MODE_STANDALONE) #include #endif #endif + +#ifdef __cplusplus +} +#endif