We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3692d commit 2ae705fCopy full SHA for 2ae705f
objc2-encode/src/encode.rs
@@ -68,6 +68,12 @@ use crate::Encoding;
68
pub unsafe trait Encode {
69
/// The Objective-C type-encoding for this type.
70
const ENCODING: Encoding<'static>;
71
+
72
+ #[doc(hidden)]
73
+ const __ENCODING_ARR: [u8; 200] = Self::ENCODING.get_str_array::<200>();
74
75
+ /// TODO
76
+ const ENCODING_CSTR: *const u8 = Self::__ENCODING_ARR.as_ptr();
77
}
78
79
/// Types whoose references has an Objective-C type-encoding.
0 commit comments