guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Names for the C frame stuff


From: Marius Vollmer
Subject: Names for the C frame stuff
Date: Wed, 07 Jan 2004 16:55:35 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]