GNU PROLOG with UTF8 support
Macros | Functions
const_io_c.c File Reference
#include "engine_pl.h"
#include "bips_pl.h"
Include dependency graph for const_io_c.c:

Macros

#define OUT_TO_STR(const_stream_type, str, stm_word, code_out, code_after)
 
#define IN_FROM_STR(const_stream_type, str, stm_word, code_in)
 

Functions

void Pl_Write_Term_2 (WamWord sora_word, WamWord term_word)
 
void Pl_Write_2 (WamWord sora_word, WamWord term_word)
 
void Pl_Writeq_2 (WamWord sora_word, WamWord term_word)
 
void Pl_Write_Canonical_2 (WamWord sora_word, WamWord term_word)
 
void Pl_Display_2 (WamWord sora_word, WamWord term_word)
 
void Pl_Print_2 (WamWord sora_word, WamWord term_word)
 
void Pl_Format_3 (WamWord sora_word, WamWord format_word, WamWord args_word)
 
Bool Pl_Read_Term_5 (WamWord sora_word, WamWord term_word, WamWord vars_word, WamWord var_names_word, WamWord sing_names_word)
 
Bool Pl_Read_Token_2 (WamWord sora_word, WamWord token_word)
 
char * Pl_Write_To_String (WamWord term_word)
 
char * Pl_Writeq_To_String (WamWord term_word)
 
char * Pl_Write_Canonical_To_String (WamWord term_word)
 
char * Pl_Display_To_String (WamWord term_word)
 
Bool Pl_Write_To_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Write_To_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Write_To_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Writeq_To_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Writeq_To_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Writeq_To_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Write_Canonical_To_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Write_Canonical_To_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Write_Canonical_To_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Display_To_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Display_To_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Display_To_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Print_To_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Print_To_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Print_To_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Write_Term_To_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Write_Term_To_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Write_Term_To_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Format_To_Atom_3 (WamWord atom_word, WamWord format_word, WamWord args_word)
 
Bool Pl_Format_To_Chars_3 (WamWord chars_word, WamWord format_word, WamWord args_word)
 
Bool Pl_Format_To_Codes_3 (WamWord codes_word, WamWord format_word, WamWord args_word)
 
WamWord Pl_Read_From_String (char *str)
 
Bool Pl_Read_From_Atom_2 (WamWord atom_word, WamWord term_word)
 
Bool Pl_Read_From_Chars_2 (WamWord chars_word, WamWord term_word)
 
Bool Pl_Read_From_Codes_2 (WamWord codes_word, WamWord term_word)
 
Bool Pl_Read_Term_From_Atom_5 (WamWord atom_word, WamWord term_word, WamWord vars_word, WamWord var_names_word, WamWord sing_names_word)
 
Bool Pl_Read_Term_From_Chars_5 (WamWord chars_word, WamWord term_word, WamWord vars_word, WamWord var_names_word, WamWord sing_names_word)
 
Bool Pl_Read_Term_From_Codes_5 (WamWord codes_word, WamWord term_word, WamWord vars_word, WamWord var_names_word, WamWord sing_names_word)
 
Bool Pl_Read_Token_From_Atom_2 (WamWord atom_word, WamWord token_word)
 
Bool Pl_Read_Token_From_Chars_2 (WamWord chars_word, WamWord token_word)
 
Bool Pl_Read_Token_From_Codes_2 (WamWord codes_word, WamWord token_word)
 

Macro Definition Documentation

#define IN_FROM_STR (   const_stream_type,
  str,
  stm_word,
  code_in 
)
Value:
{ \
int stm; \
WamWord stm_word; \
\
stm = Pl_Add_Str_Stream(str, const_stream_type); \
stm_word = Pl_Make_Stream_Tagged_Word(stm); \
\
{ code_in; } \
}
int Pl_Add_Str_Stream(char *buff, int prop_other)
Definition: stream_supp.c:1820
WamWord Pl_Make_Stream_Tagged_Word(int stm)
Definition: stream_supp.c:915
void Pl_Delete_Str_Stream(int stm)
Definition: stream_supp.c:1884
long WamWord
Definition: LINUX_SIGSEGV.c:4
#define OUT_TO_STR (   const_stream_type,
  str,
  stm_word,
  code_out,
  code_after 
)
Value:
{ \
int stm; \
WamWord stm_word; \
char *str; \
\
stm = Pl_Add_Str_Stream(NULL, const_stream_type); \
stm_word = Pl_Make_Stream_Tagged_Word(stm); \
\
{ code_out; } \
\
\
{ code_after; } \
}
int Pl_Add_Str_Stream(char *buff, int prop_other)
Definition: stream_supp.c:1820
WamWord Pl_Make_Stream_Tagged_Word(int stm)
Definition: stream_supp.c:915
void Pl_Delete_Str_Stream(int stm)
Definition: stream_supp.c:1884
long WamWord
Definition: LINUX_SIGSEGV.c:4
char * Pl_Term_Write_Str_Stream(int stm)
Definition: stream_supp.c:1912

Function Documentation

void Pl_Display_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Display_To_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Display_To_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Display_To_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

char* Pl_Display_To_String ( WamWord  term_word)

Here is the call graph for this function:

void Pl_Format_3 ( WamWord  sora_word,
WamWord  format_word,
WamWord  args_word 
)

Here is the caller graph for this function:

Bool Pl_Format_To_Atom_3 ( WamWord  atom_word,
WamWord  format_word,
WamWord  args_word 
)

Here is the call graph for this function:

Bool Pl_Format_To_Chars_3 ( WamWord  chars_word,
WamWord  format_word,
WamWord  args_word 
)

Here is the call graph for this function:

Bool Pl_Format_To_Codes_3 ( WamWord  codes_word,
WamWord  format_word,
WamWord  args_word 
)

Here is the call graph for this function:

void Pl_Print_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Print_To_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Print_To_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Print_To_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Read_From_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Read_From_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Read_From_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

WamWord Pl_Read_From_String ( char *  str)

Here is the call graph for this function:

Bool Pl_Read_Term_5 ( WamWord  sora_word,
WamWord  term_word,
WamWord  vars_word,
WamWord  var_names_word,
WamWord  sing_names_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Read_Term_From_Atom_5 ( WamWord  atom_word,
WamWord  term_word,
WamWord  vars_word,
WamWord  var_names_word,
WamWord  sing_names_word 
)

Here is the call graph for this function:

Bool Pl_Read_Term_From_Chars_5 ( WamWord  chars_word,
WamWord  term_word,
WamWord  vars_word,
WamWord  var_names_word,
WamWord  sing_names_word 
)

Here is the call graph for this function:

Bool Pl_Read_Term_From_Codes_5 ( WamWord  codes_word,
WamWord  term_word,
WamWord  vars_word,
WamWord  var_names_word,
WamWord  sing_names_word 
)

Here is the call graph for this function:

Bool Pl_Read_Token_2 ( WamWord  sora_word,
WamWord  token_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Read_Token_From_Atom_2 ( WamWord  atom_word,
WamWord  token_word 
)

Here is the call graph for this function:

Bool Pl_Read_Token_From_Chars_2 ( WamWord  chars_word,
WamWord  token_word 
)

Here is the call graph for this function:

Bool Pl_Read_Token_From_Codes_2 ( WamWord  codes_word,
WamWord  token_word 
)

Here is the call graph for this function:

void Pl_Write_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the caller graph for this function:

void Pl_Write_Canonical_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Write_Canonical_To_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_Canonical_To_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_Canonical_To_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

char* Pl_Write_Canonical_To_String ( WamWord  term_word)

Here is the call graph for this function:

void Pl_Write_Term_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Write_Term_To_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_Term_To_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_Term_To_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_To_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_To_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Write_To_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

char* Pl_Write_To_String ( WamWord  term_word)

Here is the call graph for this function:

void Pl_Writeq_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Writeq_To_Atom_2 ( WamWord  atom_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Writeq_To_Chars_2 ( WamWord  chars_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Writeq_To_Codes_2 ( WamWord  codes_word,
WamWord  term_word 
)

Here is the call graph for this function:

char* Pl_Writeq_To_String ( WamWord  term_word)

Here is the call graph for this function: