From ce119d8c96263903aa774a4cd767623afe639793 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sat, 19 Jan 2008 20:10:36 +0000 Subject: [PATCH] Fix linking problems on some platforms caused by inline/non-inline versions of same functions (obsoletes MAYBE_INLINE) [by Alexei Sheplyakov]. --- ChangeLog | 1 + src/base/string/cl_st_make0.h | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/base/string/cl_st_make0.h diff --git a/ChangeLog b/ChangeLog index 7637fbf..b11a39e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * src/base/cl_maybe_inline.h: New file. * src/base/cl_inline2.h: New file. * src/base/cl_inline.h: New file. + * src/base/string/cl_st_make0.h: New file. * src/base/cl_macros.h: Pull in cl_maybe_inline.h. * src/base/string/cl_st_concat1.cc: Use new CL_INLINE macros and the new *_inline functions. diff --git a/src/base/string/cl_st_make0.h b/src/base/string/cl_st_make0.h new file mode 100644 index 0000000..932e188 --- /dev/null +++ b/src/base/string/cl_st_make0.h @@ -0,0 +1,11 @@ +#ifndef _CL_ST_MAKE0_H +#define _CL_ST_MAKE0_H +#include "cln/string.h" + +namespace cln { + +extern cl_heap_string* cl_make_heap_string (unsigned long len); + +} // namespace cln + +#endif /* _CL_ST_MAKE0_H */