12.4.14 Foreign Code and Modules
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Foreign Code and Modules
            • PL_context()
            • PL_strip_module()
            • PL_module_name()
            • PL_new_module()
    • Packages
Availability:C-language interface function
module_t PL_new_module(atom_t name)
Find an existing module or create a new module with the name name. Currently aborts the process with a fatal error on failure. Future versions may raise a resource exception and return (module_t)0.