mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added Cyc_list()
This commit is contained in:
parent
1cb1b6e89f
commit
5790716927
2 changed files with 8 additions and 0 deletions
|
@ -202,6 +202,7 @@ object Cyc_number2string2(void *data, object cont, int argc, object n, ...);
|
|||
object Cyc_symbol2string(void *d, object cont, object sym);
|
||||
object Cyc_string2symbol(void *d, object str);
|
||||
object Cyc_list2string(void *d, object cont, object lst);
|
||||
object Cyc_list(void *data, int argc, object cont, object objs_raw, ...);
|
||||
object Cyc_string2number_(void *d, object cont, object str);
|
||||
object Cyc_string2number2_(void *data, object cont, int argc, object str, ...);
|
||||
int binstr2int(const char *str);
|
||||
|
|
|
@ -1629,6 +1629,13 @@ object Cyc_list2string(void *data, object cont, object lst)
|
|||
}
|
||||
}
|
||||
|
||||
object Cyc_list(void *data, int argc, object cont, object objs_raw, ...)
|
||||
{
|
||||
load_varargs(objs, objs_raw, argc - 1);
|
||||
//Cyc_st_add(data, "scheme/base.sld:list");
|
||||
_return_closcall1(data, cont, objs);
|
||||
}
|
||||
|
||||
object Cyc_string2number2_(void *data, object cont, int argc, object str, ...)
|
||||
{
|
||||
object base = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue