pub unsafe fn read_declaration(
record: *const ExportedBuildDeclaration,
) -> Result<BuildDeclaration, PluginRefusal>Expand description
Read a declaration a library exported.
§Errors
A PluginRefusal::Unreadable when the record is in a form this razeri
does not read, or a string in it is missing.
§Safety
record must be null or point to a live [export::ExportedBuildDeclaration]
whose string pointers are null or point to NUL-terminated strings.