improve SWI console

This commit is contained in:
Vitor Santos Costa
2012-06-22 03:56:01 -05:00
parent b15c9f5655
commit a9d1bd788e
8 changed files with 46 additions and 549 deletions

3
include/YapInterface.h Normal file → Executable file
View File

@@ -601,6 +601,9 @@ extern X_API YAP_Term PROTO(YAP_ImportTerm,(char *));
extern X_API int PROTO(YAP_RequiresExtraStack,(size_t));
extern X_API int
YAP_parse_yap_arguments(int argc, char *argv[], YAP_init_args *iap);
#define YAP_InitCPred(N,A,F) YAP_UserCPredicate(N,F,A)
__END_DECLS

8
include/yap_structs.h Normal file → Executable file
View File

@@ -186,6 +186,14 @@ typedef struct {
char **Argv;
/* QuietMode */
int QuietMode;
/* nf: Begin ypp preprocessor code */
#define YAP_MAX_YPP_DEFS 100
char *def_var[YAP_MAX_YPP_DEFS];
char *def_value[YAP_MAX_YPP_DEFS];
int def_c;
/* End preprocessor code */
#ifdef MYDDAS_MYSQL
/* If any myddas option was given */
short myddas;