]> git.donarmstrong.com Git - lilypond.git/blob - flower/stringutil.cc
5fcd958f4c54529a7447b8c45962f3e1ccdaba96
[lilypond.git] / flower / stringutil.cc
1 /*
2   stringutil.cc -- generate non-inline members.
3
4   This should be in a separate file, because one can include the .icc
5   only once.
6
7   source file of the LilyPond music typesetter
8
9   (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl> */
10
11 #ifdef STRING_DEBUG
12 #define memmove mymemmove
13 #endif
14
15 #ifdef STRING_UTILS_INLINED
16 #undef STRING_UTILS_INLINED
17 #endif
18
19 #ifdef INLINE
20 #undef INLINE
21 #endif
22
23 #define INLINE
24
25 #include "string-data.hh"
26 #include "string.hh"
27
28 #include "string-data.icc"
29 #include "string-handle.icc"
30 #include "string.icc"
31
32 #ifdef STRING_DEBUG
33 #include <sys/types.h>
34 #include <memory>
35 using namespace std;
36
37 void *
38 mymemmove (void *dest, void const *src, size_t n)
39 {
40   return memcpy (dest, src, n);
41 }
42 #endif