ToCpp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_BASE_TOCPP_H
10 #define SQUID_SRC_BASE_TOCPP_H
11 
14 #define CtoCpp1(function, argument) \
15  extern "C++" inline void function##_cpp(argument a) \
16  { \
17  function(a); \
18  }
19 
20 #endif /* SQUID_SRC_BASE_TOCPP_H */
21 

 

Introduction

Documentation

Support

Miscellaneous