add linkedlist.spl to stdlib
This commit is contained in:
parent
a8b0a1bb53
commit
95afcf9940
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ pub const TIME: &str = include_str!("../spl/time.spl");
|
||||||
pub const SERVER: &str = include_str!("../spl/server.spl");
|
pub const SERVER: &str = include_str!("../spl/server.spl");
|
||||||
pub const HTTP_SERVER: &str = include_str!("../spl/httpserver/base.spl");
|
pub const HTTP_SERVER: &str = include_str!("../spl/httpserver/base.spl");
|
||||||
pub const HTTP_SERVER_STATIC: &str = include_str!("../spl/httpserver/static.spl");
|
pub const HTTP_SERVER_STATIC: &str = include_str!("../spl/httpserver/static.spl");
|
||||||
|
pub const LINKEDLIST: &str = include_str!("../spl/linkedlist.spl");
|
||||||
pub const NOP: &str = "";
|
pub const NOP: &str = "";
|
||||||
|
|
||||||
pub fn register(runtime: &mut Runtime) {
|
pub fn register(runtime: &mut Runtime) {
|
||||||
|
@ -34,6 +35,7 @@ pub fn register(runtime: &mut Runtime) {
|
||||||
insert("server.spl", SERVER);
|
insert("server.spl", SERVER);
|
||||||
insert("httpserver/base.spl", HTTP_SERVER);
|
insert("httpserver/base.spl", HTTP_SERVER);
|
||||||
insert("httpserver/static.spl", HTTP_SERVER_STATIC);
|
insert("httpserver/static.spl", HTTP_SERVER_STATIC);
|
||||||
|
insert("linkedlist.spl", LINKEDLIST);
|
||||||
insert("nop.spl", NOP);
|
insert("nop.spl", NOP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue