more win64 fixes
This commit is contained in:
parent
55019a83bd
commit
99dafc9172
4
C/compiler.c
Normal file → Executable file
4
C/compiler.c
Normal file → Executable file
@ -2081,7 +2081,7 @@ c_head(Term t, compiler_struct *cglobs)
|
||||
Yap_emit(name_op, (CELL) AtomOfTerm(t), Zero, &cglobs->cint);
|
||||
#ifdef BEAM
|
||||
if (EAM) {
|
||||
Yap_emit(run_op,Zero,(unsigned long) cglobs->cint.CurrentPred,&cglobs->cint);
|
||||
Yap_emit(run_op,Zero,(UInt) cglobs->cint.CurrentPred,&cglobs->cint);
|
||||
}
|
||||
#endif
|
||||
return;
|
||||
@ -2090,7 +2090,7 @@ c_head(Term t, compiler_struct *cglobs)
|
||||
Yap_emit(name_op, (CELL) NameOfFunctor(f), ArityOfFunctor(f), &cglobs->cint);
|
||||
#ifdef BEAM
|
||||
if (EAM) {
|
||||
Yap_emit(run_op,Zero,(unsigned long) cglobs->cint.CurrentPred,&cglobs->cint);
|
||||
Yap_emit(run_op,Zero,(UInt) cglobs->cint.CurrentPred,&cglobs->cint);
|
||||
}
|
||||
#endif
|
||||
if (Yap_ExecutionMode == MIXED_MODE_USER)
|
||||
|
@ -415,13 +415,13 @@ extern X_API YAP_Int PROTO(YAP_CurrentSlot,(void));
|
||||
extern X_API YAP_Int PROTO(YAP_InitSlot,(YAP_Term));
|
||||
|
||||
/* YAP_Term YAP_GetFromSlots(t) */
|
||||
extern X_API YAP_Term PROTO(YAP_GetFromSlot,(YAP_Int int));
|
||||
extern X_API YAP_Term PROTO(YAP_GetFromSlot,(YAP_Int));
|
||||
|
||||
/* YAP_Term YAP_AddressFromSlots(t) */
|
||||
extern X_API YAP_Term *PROTO(YAP_AddressFromSlot,(YAP_Int int));
|
||||
extern X_API YAP_Term *PROTO(YAP_AddressFromSlot,(YAP_Int));
|
||||
|
||||
/* YAP_Term YAP_PutInSlots(t) */
|
||||
extern X_API void PROTO(YAP_PutInSlot,(YAP_Int int, YAP_Term));
|
||||
extern X_API void PROTO(YAP_PutInSlot,(YAP_Int, YAP_Term));
|
||||
|
||||
/* void YAP_RecoverSlots() */
|
||||
extern X_API int PROTO(YAP_RecoverSlots,(int));
|
||||
|
Reference in New Issue
Block a user