unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Names for the C frame stuff
@ 2004-01-07 15:55 Marius Vollmer
  2004-01-10 11:55 ` Dirk Herrmann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Marius Vollmer @ 2004-01-07 15:55 UTC (permalink / raw)


Hi,

so I'm pondering over how to name the functions that are associated
with the new 'frame' concept.  I'm now mostly convinced to use these
ones:

    scm_frame_begin            - Begin a frame
    scm_frame_end              - End it

    scm_frame_unwind           - Register a unwind handler
    scm_frame_rewind           -          a rewind handler

    scm_frame_block_asyncs     - Block the asyncs
    scm_frame_unblock_asyncs   - Unblock them

    scm_frame_current_input_port
    scm_frame_current_output_port
    scm_frame_current_error_port
                               - Set the indicated port temporarily

    scm_frame_fluid            - Set a fluid temporarily

    etc.

This scheme makes it clear that frames are involved with
scm_frame_block_asyncs (for example) and also gives us enough room for
situations where the nice names are already taken (like
scm_with_fluids).

Comments?


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-13 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07 15:55 Names for the C frame stuff Marius Vollmer
2004-01-10 11:55 ` Dirk Herrmann
2004-01-11  0:19   ` Marius Vollmer
2004-01-10 16:37 ` Neil Jerram
2004-01-11  1:25   ` Marius Vollmer
2004-01-13 17:33 ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).