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: book/src/bridge/extern_rustqt.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,9 @@ mod ffi {
23
23
24
24
The `extern "RustQt"` section of a CXX bridge declares Rust types and signatures to be made available to Qt and C++.
25
25
26
-
The CXX code generator uses your `extern "Rust"` section(s) to produce a C++ header file containing the corresponding C++ declarations. The generated header has a file name matching the module ident or the `cxx_file_stem` field in the `#[cxx_qt::bridge]` attribute and with a `.cxxqt.h` file extension.
26
+
The CXX code generator uses your `extern "Rust"` section(s) to produce a C++ header file containing the corresponding C++ declarations. The generated header has a file name of the `cxx_file_stem` field in the `#[cxx_qt::bridge]` attribute and with a `.cxxqt.h` file extension.
27
+
28
+
> Note that once there is support for `source_file` or similar in the `Span` macro we want to support copying the file name like CXX.
27
29
28
30
A bridge module may contain zero or more `extern "RustQt"` blocks.
0 commit comments