source file of the GNU LilyPond music typesetter
- (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
-#include "string.hh"
+#include "std-string.hh"
#include "input-smob.hh"
/* We don't use IMPLEMENT_TYPE_P, since the smobification part is
msg = scm_simple_format (SCM_BOOL_F, msg, rest);
- String m = ly_scm2string (msg);
+ string m = ly_scm2string (msg);
ip->message (m);
return SCM_UNSPECIFIED;
Input *ip = unsmob_input (sip);
SCM_ASSERT_TYPE (ip, sip, SCM_ARG1, __FUNCTION__, "input location");
- int l, ch, col;
+ int l, ch, col;
ip->get_counts (&l, &ch, &col);
- return scm_list_4 (scm_makfrom0str (ip->file_string ().to_str0 ()),
+ return scm_list_4 (scm_makfrom0str (ip->file_string ().c_str ()),
scm_from_int (l),
scm_from_int (ch),
scm_from_int (col));
{
Input *ip = unsmob_input (sip);
SCM_ASSERT_TYPE (ip, sip, SCM_ARG1, __FUNCTION__, "input location");
- return scm_list_5 (scm_makfrom0str (ip->file_string ().to_str0 ()),
+ return scm_list_5 (scm_makfrom0str (ip->file_string ().c_str ()),
scm_from_int (ip->line_number ()),
scm_from_int (ip->column_number ()),
scm_from_int (ip->end_line_number ()),