From 81bd7091b8dffe147dda32f4aedc95a172b66ebe Mon Sep 17 00:00:00 2001 From: Slyvtt Date: Tue, 1 Mar 2022 16:12:50 +0100 Subject: [PATCH] remove virtual --- include/ustring.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/ustring.h b/include/ustring.h index 5f58608..d8b35a0 100644 --- a/include/ustring.h +++ b/include/ustring.h @@ -3,6 +3,10 @@ // Copyright (c) 2005 by Mike Sharov // This file is free software, distributed under the MIT License. +#ifdef __cplusplus +extern "C" { +#endif + #pragma once #include "memblock.h" #include "utf8.h" @@ -306,3 +310,7 @@ inline hashvalue_t hash_value (const char* v) //---------------------------------------------------------------------- } // namespace ustl + +#ifdef __cplusplus +} +#endif