Fixed not inititalizing load path
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ namespace Slime {
|
||||
|
||||
proc add_to_load_path(const char* path) -> void {
|
||||
using Globals::load_path;
|
||||
|
||||
|
||||
load_path.append((void*)path);
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -224,6 +224,7 @@ namespace Slime::Memory {
|
||||
Globals::Current_Execution::ats.alloc();
|
||||
Globals::Current_Execution::mes.alloc();
|
||||
|
||||
Globals::load_path.alloc();
|
||||
add_to_load_path(exe_path);
|
||||
add_to_load_path("../bin/");
|
||||
|
||||
@@ -488,7 +489,7 @@ namespace Slime::Memory {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
␍
|
||||
inline proc create_list(Lisp_Object* o1) -> Lisp_Object* {
|
||||
Lisp_Object* ret;
|
||||
try ret = create_lisp_object_pair(o1, nil);
|
||||
|
||||
Reference in New Issue
Block a user