]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/libc-extension.hh
* lily/tie-column.cc (set_manual_tie_configuration): new function.
[lilypond.git] / flower / include / libc-extension.hh
index ff85fef84101b280a3a242564723b12f20e676ed..abf5a549d1a68bf5888834da3277122adb4e6495 100644 (file)
@@ -9,8 +9,9 @@
 #ifndef LIBC_EXTENSION_HH
 #define LIBC_EXTENSION_HH
 
-#include <stddef.h>
-#include <stdarg.h>
+#include <cstddef>
+#include <cstdarg>
+using namespace std;
 
 #include "config.hh"
 
@@ -22,6 +23,18 @@ void *memmem (void const *haystack, int haystack_len,
              void const *needle, int needle_len);
 #endif /* HAVE_MEMMEM */
 
+#if ! HAVE_MEMRCHR
+unsigned char *memrchr (unsigned char const *p, int n, char c);
+#endif
+
+#if ! HAVE_MEMREV
+unsigned char *memrev (unsigned char *byte, int length_i);
+#endif
+
+double my_round (double);
+
+/* namespace std { */
+  
 #if ! HAVE_SNPRINTF            /* GNU extension. */
 int snprintf (char *str, size_t n, char const *format, ...);
 #endif
@@ -36,14 +49,6 @@ int isinf (double x);
 #endif
 #endif
 
-#if ! HAVE_MEMRCHR
-unsigned char *memrchr (unsigned char const *p, int n, char c);
-#endif
-
-#if ! HAVE_MEMREV
-unsigned char *memrev (unsigned char *byte, int length_i);
-#endif
-
-double my_round (double);
+/* }; */
 
 #endif /* LIBC_EXTENSION_HH */