Skip to content

Commit d41c2eb

Browse files
author
Rémy HUBSCHER
committed
Add a test
1 parent e65cd9b commit d41c2eb

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* automatically generated by rust-bindgen */
2+
3+
4+
#![allow(non_snake_case)]
5+
6+
7+
#[repr(C)]
8+
#[derive(Debug, Copy, Clone)]
9+
pub struct VariadicFunctionObject<T> {
10+
pub _address: u8,
11+
pub _phantom_0: ::std::marker::PhantomData<T>,
12+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
template <typename T>
3+
class VariadicFunctionObject {
4+
public:
5+
int add_em_up(T count);
6+
};

0 commit comments

Comments
 (0)