• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

12.4.7 Convenient functions to generate Prolog exceptions
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Convenient functions to generate Prolog exceptions
            • PL_get_atom_ex()
            • PL_get_integer_ex()
            • PL_get_long_ex()
            • PL_get_int64_ex()
            • PL_get_uint64_ex()
            • PL_get_intptr_ex()
            • PL_get_size_ex()
            • PL_get_bool_ex()
            • PL_get_float_ex()
            • PL_get_char_ex()
            • PL_get_pointer_ex()
            • PL_get_list_ex()
            • PL_get_nil_ex()
            • PL_unify_list_ex()
            • PL_unify_nil_ex()
            • PL_unify_bool_ex()
            • PL_instantiation_error()
            • PL_uninstantiation_error()
            • PL_representation_error()
            • PL_type_error()
            • PL_domain_error()
            • PL_existence_error()
            • PL_permission_error()
            • PL_resource_error()
            • PL_syntax_error()
    • Packages
Availability:C-language interface function
bool PL_get_bool_ex(term_t t, int *i)
As PL_get_bool(), but raises a type or instantiation error if t is not a valid boolean value (true, false, on, constoff, 1 or 0). Note that the pointer is to an int because C has no bool type.
ClioPatria (version V3.1.1-51-ga0b30a5)