get rid of create_prolog_flag/2.

This commit is contained in:
Vitor Santos Costa 2009-12-04 09:17:27 +00:00
parent 9814a3e95b
commit d554871ffb
2 changed files with 0 additions and 10 deletions

View File

@ -8018,13 +8018,6 @@ Create a new YAP Prolog flag. @var{Options} include @code{type(+Type)} and @code
one of @code{read_only} or @code{read_write} and @var{Type} one of @code{boolean}, @code{integer}, @code{float}, @code{atom}
and @code{term} (that is, no type).
@item create_prolog_flag(+@var{Flag},+@var{Value})
@findex create_prolog_flag/2
@snindex create_prolog_flag/2
@cnindex create_prolog_flag/2
Create a new YAP Prolog flag @var{Flag}. The flag is @code{read_write} and of type @code{term} (that is, no type).
@item op(+@var{P},+@var{T},+@var{A}) [ISO]
@findex op/3
@syindex op/3

View File

@ -1074,9 +1074,6 @@ source_mode(Old,New) :-
source :- '$set_yap_flags'(11,1).
no_source :- '$set_yap_flags'(11,0).
create_prolog_flag(Name, Value) :-
create_prolog_flag(Name, Value, []).
create_prolog_flag(Name, Value, Options) :-
'$check_flag_name'(Name, create_prolog_flag(Name, Value, Options)),
'$check_flag_options'(Options, Domain, RW, create_prolog_flag(Name, Value, Options)),