summaryrefslogtreecommitdiff
path: root/flower/stringutil.cc
blob: 037eae03a3179e3ae80413770b08e98abe5ad4a3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
  stringutil.cc -- generate non-inline members. 

  This should be in a separate file, because one can include the .icc
  only once.

  source file of the LilyPond music typesetter

  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl> */

#ifdef STRING_DEBUG 
#define memmove mymemmove
#endif

#ifdef STRING_UTILS_INLINED
#undef STRING_UTILS_INLINED
#endif

#ifdef INLINE
#undef INLINE
#endif

#define INLINE

#include "string-handle.hh"
#include "string-data.hh"
#include "string.hh"
#include "string-data.icc"
#include "string-handle.icc"
#include "string.icc"

#ifdef STRING_DEBUG
#include <sys/types.h>
#include <memory.h>
void* 
mymemmove (void* dest, void const* src, size_t n)
{
	return memcpy (dest, src, n); 
}
#endif