Effective February 22, 2024, Google Groups will no longer support new Usenet content. Posting and subscribing will be disallowed, and new content from Usenet peers will not appear. Viewing and searching of historical data will still be supported as it is done today.
Dismiss

interpreter.c split

4 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

Reply all
Reply to author
Forward
0 new messages