polyxml-c 0.18.0
“Standard C-ABI shared library and headers for PolyXML”
Basename is uppercase README.mdCaret or XOR expression text
SHA-25617eb2cc839349ca98e97f8a79362946bf723c6c2e9716bb672f50df0eae41123
MaleculeMd₂(In₃Pa)
Evidence
1#![allow(clippy::missing_safety_doc)]
2
3use std::ffi::CStr;
4use std::os::raw::c_char;
5use std::sync::Arc;
6
7use polyxml::schema::{
8 FieldKind, FieldSchema, ModelSchema, ModelSchemaBuilder, ScalarType, ValueType,
9};
10use polyxml::value::PolyValue;
11
12// Opaque types
13pub struct PolyXmlSchemaBuilder(ModelSchemaBuilder);
14pub struct PolyXmlSchema …
250:48… rts(ns_uris, ns_count);
251 for i in 0..ns_count {
252 let prefix_ptr = prefix_slice[i] …
441:59… N"), "\0").as_bytes();
442 VERSION.as_ptr() as *const c_char
443}
444
445#[cfg(test)]
446mod tests {
447 use super::*;
448 use std::ffi::CString;
449
450 #[test]
451 fn test_c_abi_namespaced_roundtrip() {
452 unsafe {
453 let name = CString::new("Order").unwrap();
454 …
No evidence locations were recorded for this file. Raw result