fdt icon indicating copy to clipboard operation
fdt copied to clipboard

parsing: use the `CStr` type from `core`

Open rmsyn opened this issue 1 year ago • 0 comments

Instead of wrapping a byte slice in the local CStr, wraps the core::ffi::CStr type.

Avoids duplication of effort on the core library, and should help future-proof for additions like the c"" feature for creating C-string literals.

Only includes the minimal changes, the local CStr wrapper can likely be removed with more changes.

rmsyn avatar Apr 22 '24 04:04 rmsyn