GNU PROLOG with UTF8 support
Macros | Functions | Variables
engine.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include "gp_config.h"
#include "set_locale.h"
#include <sys/param.h>
#include "engine_pl.h"
#include "../Linedit/linedit.h"
#include "../TopComp/prolog_path.c"
Include dependency graph for engine.c:
This graph shows which files directly or indirectly include this file:

Macros

#define ENGINE_FILE
 
#define ERR_DIRECTIVE_FAILED   "warning: %s:%d: %s directive failed\n"
 

Functions

static void Call_Prolog_Fail (void)
 
static void Call_Prolog_Success (void)
 
static Bool Call_Next (CodePtr codep)
 
void Pl_Call_Compiled (CodePtr codep)
 
int Pl_Start_Prolog (int argc, char *argv[])
 
void Pl_Stop_Prolog (void)
 
void Pl_Reset_Prolog (void)
 
void Pl_Reset_Prolog_In_Signal (void)
 
void Pl_Set_Heap_Actual_Start (WamWord *new_heap_actual_start)
 
void Pl_Execute_Directive (int pl_file, int pl_line, Bool is_system, CodePtr proc)
 
Bool Pl_Try_Execute_Top_Level (void)
 
Bool Pl_Call_Prolog (CodePtr codep)
 
Bool Pl_Call_Prolog_Next_Sol (WamWord *query_b)
 
void Pl_Keep_Rest_For_Prolog (WamWord *query_b)
 
void Pl_Exit_With_Exception (void)
 
void Pl_Execute_A_Continuation (CodePtr codep)
 

Variables

void(* pl_init_stream_supp )()
 
static WamWordheap_actual_start
 
static int nb_user_directives = 0
 
static sigjmp_bufp_jumper
 
static WamWordp_buff_save
 
static CodePtr cont_jmp
 

Macro Definition Documentation

#define ENGINE_FILE
#define ERR_DIRECTIVE_FAILED   "warning: %s:%d: %s directive failed\n"

Function Documentation

static Bool Call_Next ( CodePtr  codep)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void Call_Prolog_Fail ( void  )
static

(defined(M_x86_64) && defined(_MSC_VER))

Here is the caller graph for this function:

static void Call_Prolog_Success ( void  )
static

Here is the caller graph for this function:

void Pl_Call_Compiled ( CodePtr  codep)

Here is the caller graph for this function:

Bool Pl_Call_Prolog ( CodePtr  codep)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Call_Prolog_Next_Sol ( WamWord query_b)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Execute_A_Continuation ( CodePtr  codep)

Here is the caller graph for this function:

void Pl_Execute_Directive ( int  pl_file,
int  pl_line,
Bool  is_system,
CodePtr  proc 
)

Here is the call graph for this function:

void Pl_Exit_With_Exception ( void  )

Here is the caller graph for this function:

void Pl_Keep_Rest_For_Prolog ( WamWord query_b)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Reset_Prolog ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Reset_Prolog_In_Signal ( void  )
void Pl_Set_Heap_Actual_Start ( WamWord new_heap_actual_start)

Here is the caller graph for this function:

int Pl_Start_Prolog ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Stop_Prolog ( void  )

Here is the caller graph for this function:

Bool Pl_Try_Execute_Top_Level ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

CodePtr cont_jmp
static
WamWord* heap_actual_start
static
int nb_user_directives = 0
static
WamWord* p_buff_save
static
sigjmp_buf* p_jumper
static
void(* pl_init_stream_supp) ()