|
libgeda
|
Scheme API procedures for working with the TOPLEVEL. More...
#include <config.h>#include "libgeda_priv.h"#include "libgedaguile_priv.h"#include "scheme_toplevel.x"
Go to the source code of this file.
Functions | |
| void | edascm_dynwind_toplevel (TOPLEVEL *toplevel) |
| Set the TOPLEVEL fluid in the current dynamic context. | |
| SCM_DEFINE (edascm_current_toplevel,"%current-toplevel", 0, 0, 0,(),"Get the TOPLEVEL for the current dynamic context.") | |
| Get the value of the TOPLEVEL fluid. | |
| TOPLEVEL * | edascm_c_current_toplevel () |
| Get the value of the TOPLEVEL fluid. | |
| SCM_DEFINE (edascm_with_toplevel,"%with-toplevel", 2, 0, 0,(SCM toplevel, SCM thunk),"Call `thunk', setting the TOPLEVEL fluid to `toplevel'.") | |
| Set the current TOPLEVEL temporarily. | |
| SCM | edascm_c_with_toplevel (TOPLEVEL *toplevel, SCM(*func)(void *), void *user_data) |
| Set the current TOPLEVEL temporarily. | |
| static void | init_module_geda_core_toplevel () |
| Create the (geda core toplevel) Scheme module. | |
| void | edascm_init_toplevel () |
| Initialise the TOPLEVEL manipulation procedures. | |
Variables | |
| SCM | scheme_toplevel_fluid = SCM_UNDEFINED |
Definition in file scheme_toplevel.c.
| SCM_DEFINE | ( | edascm_current_toplevel | , |
| "%current-toplevel" | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| () | , | ||
| "Get the TOPLEVEL for the current dynamic context." | |||
| ) |
Definition at line 56 of file scheme_toplevel.c.
| SCM_DEFINE | ( | edascm_with_toplevel | , |
| "%with-toplevel" | , | ||
| 2 | , | ||
| 0 | , | ||
| 0 | , | ||
| (SCM toplevel, SCM thunk) | , | ||
| "Call `thunk' | , | ||
| setting the TOPLEVEL fluid to`toplevel'." | |||
| ) |
Definition at line 87 of file scheme_toplevel.c.
| static void init_module_geda_core_toplevel | ( | ) | [static] |
Definition at line 116 of file scheme_toplevel.c.
| void edascm_init_toplevel | ( | ) |
Definition at line 133 of file scheme_toplevel.c.

| SCM scheme_toplevel_fluid = SCM_UNDEFINED |
Definition at line 30 of file scheme_toplevel.c.