diff options
author | Bradley Smith | 2008-03-09 00:16:08 +0000 |
---|---|---|
committer | Bradley Smith | 2008-03-09 00:16:08 +0000 |
commit | 199249130d932922a922a2eb193bbc52f2058536 (patch) | |
tree | 0a4d56365db7d4e931ec4075de4b7b5d878011af | |
parent | Add readline support to text plugin. (diff) | |
download | gnurobots-199249130d932922a922a2eb193bbc52f2058536.tar.gz |
Replace deprecated functions.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
-rw-r--r-- | src/api.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,7 +55,7 @@ api_robot_smell (SCM s_th) gboolean ret; gchar *str; - str = SCM_STRING_CHARS (s_th); + str = scm_to_locale_string (s_th); ret = g_robot_smell (robot, str); return SCM_BOOL (ret); @@ -67,7 +67,7 @@ api_robot_feel (SCM s_th) gboolean ret; gchar *str; - str = SCM_STRING_CHARS (s_th); + str = scm_to_locale_string (s_th); ret = g_robot_feel (robot, str); return SCM_BOOL (ret); @@ -79,7 +79,7 @@ api_robot_look (SCM s_th) gboolean ret; gchar *str; - str = SCM_STRING_CHARS (s_th); + str = scm_to_locale_string (s_th); ret = g_robot_look (robot, str); return SCM_BOOL (ret); |