add linkedlist.spl to stdlib

This commit is contained in:
Daniella / Tove 2024-10-14 05:21:22 +02:00
parent a8b0a1bb53
commit 95afcf9940
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -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);
} }
} }