-/* Copyright (C) 1995,1996, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996, 1999, 2000, 2001, 2006 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
"E.g., the 1 in \"1.6.5\".")
#define FUNC_NAME s_scm_major_version
{
- return scm_number_to_string (SCM_I_MAKINUM(SCM_MAJOR_VERSION),
- SCM_I_MAKINUM(10));
+ return scm_number_to_string (scm_from_int (SCM_MAJOR_VERSION),
+ scm_from_int (10));
}
#undef FUNC_NAME
"E.g., the 6 in \"1.6.5\".")
#define FUNC_NAME s_scm_minor_version
{
- return scm_number_to_string (SCM_I_MAKINUM(SCM_MINOR_VERSION),
- SCM_I_MAKINUM(10));
+ return scm_number_to_string (scm_from_int (SCM_MINOR_VERSION),
+ scm_from_int (10));
}
#undef FUNC_NAME
"E.g., the 5 in \"1.6.5\".")
#define FUNC_NAME s_scm_micro_version
{
- return scm_number_to_string (SCM_I_MAKINUM(SCM_MICRO_VERSION),
- SCM_I_MAKINUM(10));
+ return scm_number_to_string (scm_from_int (SCM_MICRO_VERSION),
+ scm_from_int (10));
}
#undef FUNC_NAME
SCM_MAJOR_VERSION,
SCM_MINOR_VERSION,
SCM_MICRO_VERSION);
- return scm_makfrom0str (version_str);
+ return scm_from_locale_string (version_str);
}
#undef FUNC_NAME
# error version string may overflow buffer
#endif
sprintf (version_str, "%d.%d", SCM_MAJOR_VERSION, SCM_MINOR_VERSION);
- return scm_makfrom0str (version_str);
+ return scm_from_locale_string (version_str);
}
#undef FUNC_NAME