Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

interpreter.c split

6 views
Skip to first unread message

Leopold Toetsch

unread,
Apr 7, 2004, 4:24:12 AM4/7/04
to P6I
I'd like to separate functions of interpreter.c into distinct files
(it's currently more then 2500 lines):

init ... init destroy
cb ... callback function handling
run_loop ... runloop selection
run_fromc ... call runloop from c
load_ops ... dynamic oplib loading
...

Which scheme should be used:
- interp/*.c (subsystem directory)
- src/interp_*.c (8+3 filename problems?)
- ??

leo

Dan Sugalski

unread,
Apr 7, 2004, 2:07:17 PM4/7/04
to Leopold Toetsch, P6I

How 'bout:

src/
runloop.c - runloop stuff, including calling in
interpreter.c - interpreter setup, destruction, cloning, and whatnot
oplibs.c - oplib loading, unloading, and management
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages