12.4.22 Registering Foreign Predicates
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Registering Foreign Predicates
            • PL_register_foreign_in_module()
            • PL_register_foreign()
            • PL_register_extensions_in_module()
            • PL_register_extensions()
    • Packages
Availability:C-language interface function
bool PL_register_foreign(const char *name, int arity, foreign_t (*function)(), int flags, ...)
Same as PL_register_foreign_in_module(), passing NULL for the module.