#include <config.h>
#include <version.h>
#include <missing.h>
#include <stdio.h>
#include <glib.h>
#include "gschem.h"
Go to the source code of this file.
Function Documentation
- Function Description
- This function registers a function to be called on program exit. Multiple functions will be executed in the order they are registered.
- Parameters:
-
[in] | func | a pointer to the function to be registered |
[in] | data | an arbitrary argument provided to the function when it is called |
Definition at line 66 of file gschem.c.
void gschem_quit |
( |
void |
| ) |
|
- Function Description
- This function cleans up all memory objects allocated during the gSchem runtime.
Definition at line 81 of file gschem.c.
void main_prog |
( |
void * |
closure, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Function Description
- This function is the main program called from scm_boot_guile. It handles initializing all libraries and gSchem variables and passes control to the gtk main loop.
- Todo:
- These two messages are the same. Should be integrated.
Definition at line 129 of file gschem.c.
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Function Description
- This is the main function for gSchem. It sets up the Scheme(GUILE) environment and passes control to via scm_boot_guile to the main_prog function.
Definition at line 339 of file gschem.c.
Variable Documentation
Contains a Scheme expression arising from command-line arguments. This is evaluated after initialising gschem, but before loading any rc files.
Definition at line 63 of file parsecmd.c.
Contains a Scheme expression arising from command-line arguments. This is evaluated after loading gschem and any schematic files specified on the command-line.
Definition at line 69 of file parsecmd.c.