GNU PROLOG with UTF8 support
Macros | Functions
oper.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "engine_pl.h"
Include dependency graph for oper.c:

Macros

#define OPER_FILE
 
#define T_FX(p)   PREFIX, p, 0 , p-1
 
#define T_FY(p)   PREFIX, p, 0 , p
 
#define T_XF(p)   POSTFIX, p, p-1, 0
 
#define T_YF(p)   POSTFIX, p, p, 0
 
#define T_XFX(p)   INFIX, p, p-1, p-1
 
#define T_XFY(p)   INFIX, p, p-1, p
 
#define T_YFX(p)   INFIX, p, p, p-1
 
#define ADD_OPER(prec, type, name)   Pl_Create_Oper(Pl_Create_Atom(name), T_##type(prec))
 

Functions

void Pl_Init_Oper (void)
 
OperInfPl_Create_Oper (int atom_op, int type, int prec, int left, int right)
 
OperInfPl_Lookup_Oper (int atom_op, int type)
 
OperInfPl_Lookup_Oper_Any_Type (int atom_op)
 
OperInfPl_Delete_Oper (int atom_op, int type)
 

Macro Definition Documentation

#define ADD_OPER (   prec,
  type,
  name 
)    Pl_Create_Oper(Pl_Create_Atom(name), T_##type(prec))
#define OPER_FILE
#define T_FX (   p)    PREFIX, p, 0 , p-1
#define T_FY (   p)    PREFIX, p, 0 , p
#define T_XF (   p)    POSTFIX, p, p-1, 0
#define T_XFX (   p)    INFIX, p, p-1, p-1
#define T_XFY (   p)    INFIX, p, p-1, p
#define T_YF (   p)    POSTFIX, p, p, 0
#define T_YFX (   p)    INFIX, p, p, p-1

Function Documentation

OperInf* Pl_Create_Oper ( int  atom_op,
int  type,
int  prec,
int  left,
int  right 
)

Here is the call graph for this function:

Here is the caller graph for this function:

OperInf* Pl_Delete_Oper ( int  atom_op,
int  type 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Init_Oper ( void  )

Here is the caller graph for this function:

OperInf* Pl_Lookup_Oper ( int  atom_op,
int  type 
)

Here is the call graph for this function:

Here is the caller graph for this function:

OperInf* Pl_Lookup_Oper_Any_Type ( int  atom_op)

Here is the call graph for this function: