You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: binding-generator/src/type_ref/types.rs
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ pub enum TypeRefTypeHint {
21
21
LenForSlice(Arc<[String]>,usize),
22
22
/// Treat C++ string as a byte buffer (`Vec<u8>`) instead of an actual string, argument is optional cpp_arg_name of the argument that specifies the buffer byte length
23
23
StringAsBytes(Option<Arc<str>>),
24
+
/// Treat C++ string as a file path, done heuristically based on the argument name
25
+
StringAsPath,
24
26
/// String len is passed in an additional argument (cpp_arg_name)
25
27
StringWithLen(Rc<str>),
26
28
/// when C++ char needs to be represented as Rust char
0 commit comments