| (&-) [Godi_script] |
Conditional sequencing: If the first commandlet returns the exit
code 0, the second commandlet is also executed (like the "&&" shell
operator).
|
| (|-) [Godi_script] |
Conditional sequencing: If the first commandlet returns a non-zero exit
code, the second commandlet is also executed (like the "||" shell
operator).
|
C | |
| c_compile_test [Godi_script] |
The string must contain the C program to be used as test.
|
| c_compiler_name [Godi_script] |
Returns the command name of the C compiler
|
| c_env_from_config_script [Godi_script] |
Calls the script
script_name (which must be an absolute file name)
and extracts the c_env from it.
|
| c_flags [Godi_script] |
Returns the collected flags to C-compile.
|
| c_ld_flags [Godi_script] |
Returns the collected flags to link C programs.
|
| cmd [Godi_script] |
The commandlet that executes the passed command (as string).
|
| cmd_output [Godi_script] |
The commandlet that executes the passed command (as string), and
reads the output of the command (stdout).
|
| cmdf [Godi_script] |
Same as
cmd but accepts a printf-like format string
|
| cmdf_output [Godi_script] |
Same as
cmd_output but accepts a printf-like format string
|
| code [Godi_script] |
The current exit code
|
| create_test_whether_c_function_exists [Godi_script] |
Input is the name of a C function.
|
E | |
| empty_c_env [Godi_script] |
A
c_env where the lists are empty, the options are None, and the
boolean fields are false.
|
| env [Godi_script] |
Returns the named environment variable, or
"" if the variable does
not exist.
|
| env_opt [Godi_script] |
Returns the named environment variable, or
None if the variable
is empty or does not exist.
|
| env_req [Godi_script] |
Returns the named environment variable, or fails if the variable
does not exist or is empty.
|
| eval [Godi_script] |
Evaluates a commandlet, and returns the result value.
|
| eval_test [Godi_script] |
Evaluates a commandlet, and returns
true if the exit code is 0,
and false if the exit code is non-zero.
|
F | |
| find_c_library [Godi_script] |
Searches a C library.
|
| findcmd [Godi_script] |
Returns the absolute location of a command, or raises
Not_found.
|
I | |
| ignore_code [Godi_script] |
Executes the commandlet, and ignores the exit code, i.e.
|
| initial_state [Godi_script] |
The initial state has code 0, and no result value
|
L | |
| log [Godi_script] |
Appends the string to the log file.
|
| logf [Godi_script] |
Same as
log, but accepts a printf-like format string
|
M | |
| main_c_finder [Godi_script] |
A configurable main program for the case that the library
is searched by
find_c_library.
|
| main_config_finder [Godi_script] |
A configurable main program for the case that a configure script
is used (
c_env_from_config_script).
|
P | |
| parse_c_result [Godi_script] |
Parses the C environment found in
file where the variables
use prefix.
|
| parse_conf_file [Godi_script] |
Parses
file
|
| print_c_result [Godi_script] |
Prints the C environment to the
file and to the screen.
|
| print_conf_file [Godi_script] |
Writes to
file the list of variable settings
|
R | |
| read_file [Godi_script] |
Reads the file into memory, and returns it as string
|
| read_from_cmd [Godi_script] |
Starts the command, reads its output (stdout), waits for its
completion, and returns both the exit code and the output.
|
| read_from_cmdf [Godi_script] |
Same as
read_from_cmd, but accepts a printf-like format string.
|
| result [Godi_script] |
The current result value
|
| return_code [Godi_script] |
Returns the modified state where the code is set to the int
|
| return_result [Godi_script] |
Returns the modified state where the result is set
|
| run_test [Godi_script] |
Runs the executable whose name is stored in the state.
|
| runcmd [Godi_script] |
Starts the command, waits for its completion, and returns the exit
code.
|
| runcmdf [Godi_script] |
Same as
runcmd, but accepts a printf-like format string.
|
S | |
| search_libs_path [Godi_script] |
Returns the (command) locations enumerated by the environment
variable
SEARCH_LIBS
|
| set_bool_code [Godi_script] |
The commandlet that sets the exit code to 0 if the boolean is
true, and to 1 if the boolean is false.
|
| set_bool_code_from [Godi_script] |
The commandlet that calls the function, and sets the exit code
from the boolean result of the function (as
set_code_bool).
|
| set_code [Godi_script] |
The commandlet that sets the exit code to the passed integer
|
| set_code_from [Godi_script] |
The commandlet that calls the function, and sets the exit code
from the integer result of the function.
|
| system_path [Godi_script] |
Returns the locations enumerated by the environment
variable
PATH
|
W | |
| write_file [Godi_script] |
Writes to the file whose name is passed as first argument the
0contents passed as second argument.
|