mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-15 15:21:03 -08:00
examples: fix threads example
Do not include `gc.h' in the example (only ecl/ecl.h). Things work as expected whatsoever and we don't put gc.h anywhere for quite a while. Fixes #136. Also replace obsolete Cnil with ECL_NIL.
This commit is contained in:
parent
1c2942d15d
commit
69a28761d9
2 changed files with 4 additions and 4 deletions
|
|
@ -59,7 +59,7 @@ thread_entry_point(void *data)
|
|||
* in this thread.
|
||||
*/
|
||||
|
||||
ecl_import_current_thread(Cnil, Cnil);
|
||||
ecl_import_current_thread(ECL_NIL, ECL_NIL);
|
||||
|
||||
/*
|
||||
* Here we execute some lisp code code.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue