Function liberate::sys::load_plugin(plugin_meta const *&, char const *)

Function Documentation

bool liberate::sys::load_plugin(plugin_meta const *&meta, char const *filename)

Attempt to load plugin metadata from a file.

Parameters
  • meta[out] The metadata structure to fill. Pass a pointer (by reference), which is set to a non-nullptr value on success.

  • filename[in] The name of the file to load.

Returns

True on success, else false.