$/!%^55.5.0+dev0-2025-04-28/'Dynlink)is_native$boolX@@@@ #../../otherlibs/dynlink/dynlink.mliT22T2F@@'Dynlink@@@(loadfile@&stringY@@@$unitZ@@@@@@ZZ@@A@@0loadfile_private@[@@@\@@@@@@.o  /o  @@-B@@.adapt_filename@,]@@@1^@@@@@@CEJJDEJo@@BC@@1set_allowed_units@$list`G_@@@@@@Ga@@@@@@_K`K@@^D@@*allow_only@cbb@@@@@@bd@@@@@@zX{X@@yE@@(prohibit@7f}e@@@@@@}g@@@@@@]rr]r@@F@@2main_program_units@h@@@Wji@@@@@@@@@cc@@G@@?public_dynamically_loaded_units@k@@@rml@@@@@@@@@gLLgL@@H@@)all_units@n@@@po@@@@@@@@@lRRlRu@@I@@4allow_unsafe_modules@q@@@r@@@@@@q--q-T@@J@@-linking_errorA;@@0Undefined_globals@@@@@|#%|#A@@L@5Unavailable_primitive t@@@@@}BD }Be@@M@4Uninitialized_global u@@@@@.~fh/~f@@-N@@@@@@@@@2{@@@@0K@A@%error!B;@@3Not_a_bytecode_file"4v@@@@@FG@@EP@3Inconsistent_import#Cw@@@@@UV@@TQ@0Unavailable_unit$Rx@@@@@de@@cR@+Unsafe_file%@@mn@@lS@-Linking_error&jy@@@۠'Dynlinkz-linking_error@@@@@=@@T@3Corrupted_interface'{@@@@@>@>_@@U@;Cannot_open_dynamic_library(#exn|@@@@@`b`@@V@ $Library's_module_initializers_failed)}@@@@@@@W@;Inconsistent_implementation*~@@@@@@@X@5Module_already_loaded+@@@@@@@Y@ *Private_library_cannot_implement_interface,@@@@@=@@Z@@@@@@@@@@@@@O@A@±%Error-C#LG@'Dynlink%error@@@@@A???W@@[@B@-error_message.@'Dynlink%error@@@@@@@@@@@\@@7unsafe_get_global_valueW6bytecode_or_asm_symbol@@@&optionL&Stdlib#Obj!t@@@@@@@@@348@@2]@@@3 .Dynamic loading of .cmo, .cma and .cmxs files.@@@@@@@@@@@@A #../../otherlibs/dynlink/dynlink.mli1Dynlink.is_native3$true? if the program is native, %false< if the program is bytecode.@@@@@@@@@@@@X@@@@TA@ !Dynamic loading of compiled files@@0Dynlink.loadfile3 2In bytecode: load the given bytecode object file ($.cmo % file) or bytecode library file ($.cma p file), and link it with the running program. In native code: load the given OCaml plugin file (usually %.cmxs (), and link it with the running program.@ : All toplevel expressions in the loaded compilation units are evaluated. No facilities are provided to access value names defined by the unit. Therefore, the unit must itself register its entry points with the main program (or a previously-loaded library) e.g. by modifying tables of functions.@ An exception will be raised if the given library defines toplevel modules whose names clash with modules existing either in the main program or a shared library previously loaded with (loadfile ?. Modules from shared libraries previously loaded with 0loadfile_private & are not included in this restriction.@ b The compilation units loaded by this function are added to the "allowed units" list (see 9Dynlink.set_allowed_unitsD@").@@@@@@@@@@@@@ @@@@8Dynlink.loadfile_private3(Same as (loadfile , except that the compilation units just loaded are hidden (cannot be referenced) from other modules dynamically loaded afterwards.@ An exception will be raised if the given library defines toplevel modules whose names clash with modules existing in either the main program or a shared library previously loaded with (loadfile ?. Modules from shared libraries previously loaded with 0loadfile_private & are not included in this restriction.@ An exception will also be raised if the given library defines toplevel modules whose name matches that of an interface depended on by a module existing in either the main program or a shared library previously loaded with (loadfile . This applies even if such dependency is only a "module alias" dependency (i.e. just on the name rather than the contents of the interface).@ f The compilation units loaded by this function are not added to the "allowed units" list (see ;D@ C) since they cannot be referenced from other compilation units.@@@@@@@@@@@@@:@@@@6Dynlink.adapt_filename3 XIn bytecode, the identity function. In native code, replace the last extension with %.cmxs!.@@@@@@@@@@@@@O@@@@A@.Access control@@c3 Set the list of compilation units that may be referenced from units that are dynamically loaded in the future to be exactly the given value.@ Initially all compilation units composing the program currently running are available for reference from dynamically-linked units. 1set_allowed_units can be used to restrict access to a subset of these units, e.g. to the units that compose the API for dynamically-linked code, and prevent access to all other units, e.g. private, internal modules of the running program.@/ Note that D@ changes the allowed-units list.@@@@@@@@@@@@@x@@@@2Dynlink.allow_only30allow_only units sets the list of allowed units to be the intersection of the existing allowed units and the given list of units. As such it can never increase the set of allowed units.@@@@@@@@@@@@@@@@@0Dynlink.prohibit3.prohibit units Q prohibits dynamically-linked units from referencing the units named in list %units by removing such units from the allowed units list. This can be used to prevent access to selected units, e.g. private, internal modules of the running program.@@@@@@@@@@@@@@@@@:Dynlink.main_program_units3 fReturn the list of compilation units that form the main program (i.e. are not dynamically linked).@@@@@@@@@@@@@@@@@ 'Dynlink.public_dynamically_loaded_units3 OReturn the list of compilation units that have been dynamically loaded via (loadfile. (and not via 0loadfile_private J). Note that compilation units loaded dynamically cannot be unloaded.@@@@@@@@@@@@@@@@@1Dynlink.all_units3 ~Return the list of compilation units that form the main program together with those that have been dynamically loaded via (loadfile2 (and not via 0loadfile_private").@@@@@@@@@@@@@@@@@