summaryrefslogtreecommitdiff
path: root/libbindgen/tests/expectations/tests/nsStyleAutoArray.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/expectations/tests/nsStyleAutoArray.rs')
-rw-r--r--libbindgen/tests/expectations/tests/nsStyleAutoArray.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/libbindgen/tests/expectations/tests/nsStyleAutoArray.rs b/libbindgen/tests/expectations/tests/nsStyleAutoArray.rs
new file mode 100644
index 00000000..c150ec46
--- /dev/null
+++ b/libbindgen/tests/expectations/tests/nsStyleAutoArray.rs
@@ -0,0 +1,22 @@
+/* automatically generated by rust-bindgen */
+
+
+#![allow(non_snake_case)]
+
+
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct nsTArray<T> {
+ pub mBuff: *mut T,
+}
+#[repr(C)]
+#[derive(Debug, Copy, Clone)]
+pub struct nsStyleAutoArray<T> {
+ pub mFirstElement: T,
+ pub mOtherElements: nsTArray<T>,
+}
+#[repr(i32)]
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+pub enum nsStyleAutoArray_WithSingleInitialElement {
+ WITH_SINGLE_INITIAL_ELEMENT = 0,
+}