--- a/src/GuileHandler.h Sun Jan 20 01:23:34 2019 +0100
+++ b/src/GuileHandler.h Tue Jan 22 15:07:21 2019 +0100
@@ -62,7 +62,7 @@
string_t guileCode;
SCM toGuileSymbol(const string_t& name) {
- return scm_string_to_symbol(scm_from_locale_string(convertor.to_bytes(name).c_str()));
+ return scm_string_to_symbol(scm_from_locale_string(convertor.to_bytes(L"$" + name).c_str()));
}
SCM toGuileString(const string_t& value) {
@@ -96,6 +96,7 @@
void undefineGuileVariable(const string_t& name, TypeId type, const string_t& value) {
scm_define(toGuileSymbol(name), scm_make_undefined_variable()); // undefined != (define n)
+ // TODO: or use: scm_variable_unset_x() ?
}
public: