cmake and jit

This commit is contained in:
Vítor Santos Costa
2015-01-26 04:02:46 +00:00
parent 9d4b59f7d6
commit bc1e70758e
49 changed files with 1397 additions and 1311 deletions

View File

@@ -26,7 +26,7 @@ void init_random( void );
static short a1 = 27314, b1 = 9213, c1 = 17773;
static int
static YAP_Bool
p_random(void)
{
double fli;
@@ -42,7 +42,7 @@ p_random(void)
return(YAP_Unify(YAP_ARG1, YAP_MkFloatTerm(fli-(int)(fli))));
}
static int
static YAP_Bool
p_setrand(void)
{
a1 = YAP_IntOfTerm(YAP_ARG1);
@@ -51,7 +51,7 @@ p_setrand(void)
return(TRUE);
}
static int
static YAP_Bool
p_getrand(void)
{
return(YAP_Unify(YAP_ARG1,YAP_MkIntTerm(a1)) &&