Smaller updates:

constant use of longjmp
conflict with python headers
win32 support
dll support
This commit is contained in:
Vitor Santos Costa
2017-02-20 15:28:46 +00:00
parent 55879dbd6c
commit 65ff3ed471
131 changed files with 8125 additions and 5154 deletions

View File

@@ -22,7 +22,7 @@
#include <windows.h>
#endif
void init_random( void );
X_API void init_random( void );
static short a1 = 27314, b1 = 9213, c1 = 17773;
@@ -59,7 +59,7 @@ p_getrand(void)
YAP_Unify(YAP_ARG3,YAP_MkIntTerm(c1)));
}
void
X_API void
init_random(void)
{
YAP_UserCPredicate("random", p_random, 1);