mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-04 16:30:48 -08:00
New utility function c_string_to_object().
This commit is contained in:
parent
c167982060
commit
29dcac3ccc
2 changed files with 7 additions and 0 deletions
|
|
@ -2095,6 +2095,12 @@ read_table_entry(cl_object rdtbl, cl_object c)
|
|||
@(return entry->dispatch_table[subcode])
|
||||
@)
|
||||
|
||||
cl_object
|
||||
c_string_to_object(const char *s)
|
||||
{
|
||||
return string_to_object(make_simple_string(s));
|
||||
}
|
||||
|
||||
cl_object
|
||||
string_to_object(cl_object x)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -731,6 +731,7 @@ extern cl_object parse_integer(char *s, cl_index end, cl_index *ep, int radix);
|
|||
extern cl_object copy_readtable(cl_object from, cl_object to);
|
||||
extern cl_object current_readtable(void);
|
||||
extern cl_object string_to_object(cl_object x);
|
||||
extern cl_object c_string_to_object(const char *s);
|
||||
extern void init_read(void);
|
||||
extern void init_read_function(void);
|
||||
extern void read_VV(cl_object block, void *entry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue