cglue 0.3.5

FFI safe abstractions for making plugins and C-compatible libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::*;

#[allow(dead_code)]
#[cglue_forward]
trait ForwardMe {
    #[skip_func]
    fn fm_1(&self) -> &Self {
        self
    }

    #[vtbl_only]
    fn fm_2(&self) -> &Self {
        self
    }
}