gschem

g_util.c File Reference

Scheme utility functions. More...

#include <config.h>
#include <missing.h>
#include "gschem.h"
#include "g_util.x"
Include dependency graph for g_util.c:

Go to the source code of this file.

Functions

 SCM_DEFINE (show_uri,"%show-uri", 1, 0, 0,(SCM uri_s),"Show a URI in the associated default application")
 Launch default application for a URI.
static void init_module_gschem_core_util ()
 Create the (gschem core util) Scheme module.
void g_init_util ()
 Initialise miscellaneous gschem utility procedures.

Detailed Description

Definition in file g_util.c.


Function Documentation

SCM_DEFINE ( show_uri  ,
"%show-uri"  ,
,
,
,
(SCM uri_s)  ,
"Show a URI in the associated default application"   
)
Function Description
Launches the default application associated with uri_s on the host platform. Raises an error on failure.
Note:
Scheme API: Implements the show-uri procedure in the (gschem core util) module.
See also:
x_show_uri().
Parameters:
uri_sURI to launch viewer for.
Returns:
undefined value.

Definition at line 42 of file g_util.c.

Here is the call graph for this function:

static void init_module_gschem_core_util ( ) [static]
Function Description
Defines procedures in the (gschem core util) module. The module can be accessed using (use-modules (gschem core util)).

Definition at line 70 of file g_util.c.

void g_init_util ( )
Function Description
Registers some Scheme utility procedures for e.g. accessing miscellaneous system services. Should only be called by main_prog().

Definition at line 88 of file g_util.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines