mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 09:17:35 +02:00
Modify add_global
This commit is contained in:
parent
7a48e046ad
commit
60879432f9
2 changed files with 2 additions and 2 deletions
|
@ -789,7 +789,7 @@ object register_library(const char *name);
|
|||
*/
|
||||
/**@{*/
|
||||
extern list global_table;
|
||||
void add_global(object * glo);
|
||||
void add_global(const char *identifier, object * glo);
|
||||
void add_global2(object identifier, object * glo);
|
||||
void Cyc_set_globals_changed(gc_thread_data *thd);
|
||||
/**@}*/
|
||||
|
|
|
@ -556,7 +556,7 @@ object register_library(const char *name)
|
|||
/* Global table */
|
||||
list global_table = NULL;
|
||||
|
||||
void add_global(object * glo)
|
||||
void add_global(const char *identifier, object * glo)
|
||||
{
|
||||
// Tried using a vpbuffer for this and the benchmark
|
||||
// results were the same or worse.
|
||||
|
|
Loading…
Add table
Reference in a new issue