Browse Source

Fix linking problems on some platforms caused by inline/non-inline versions

of same functions (obsoletes MAYBE_INLINE) [by Alexei Sheplyakov].
master
Richard Kreckel 17 years ago
parent
commit
ce119d8c96
  1. 1
      ChangeLog
  2. 11
      src/base/string/cl_st_make0.h

1
ChangeLog

@ -5,6 +5,7 @@
* src/base/cl_maybe_inline.h: New file. * src/base/cl_maybe_inline.h: New file.
* src/base/cl_inline2.h: New file. * src/base/cl_inline2.h: New file.
* src/base/cl_inline.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/cl_macros.h: Pull in cl_maybe_inline.h.
* src/base/string/cl_st_concat1.cc: Use new CL_INLINE macros and the * src/base/string/cl_st_concat1.cc: Use new CL_INLINE macros and the
new *_inline functions. new *_inline functions.

11
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 */
Loading…
Cancel
Save