]> git.donarmstrong.com Git - lilypond.git/blob - flower/stringutil.cc
*** empty log message ***
[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--2006 Han-Wen Nienhuys <hanwen@xs4all.nl> */
10
11 #if !STD_STRING
12
13
14 #ifdef STRING_DEBUG
15 #define memmove mymemmove
16 #endif
17
18 #ifdef STRING_UTILS_INLINED
19 #undef STRING_UTILS_INLINED
20 #endif
21
22 #ifdef INLINE
23 #undef INLINE
24 #endif
25
26 #define INLINE
27
28 #include <algorithm>
29
30 #include "string-data.hh"
31 #include "string-handle.hh"
32
33 #include "std-string.hh"
34
35 #include "string-data.icc"
36 #include "string-handle.icc"
37 #include "string.icc"
38
39 #ifdef STRING_DEBUG
40 #include <sys/types.h>
41 #include <memory>
42 using namespace std;
43
44 void *
45 mymemmove (void *dest, void const *src, size_t n)
46 {
47   return memcpy (dest, src, n);
48 }
49 #endif
50
51 #endif /* !STD_STRING */