split out ffi bindings into shenlong-sys crate
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
extern crate c_str_macro;
|
||||
|
||||
use c_str_macro::c_str;
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||
use shenlong_sys::*;
|
||||
|
||||
extern "C" fn shenlong_init(plugin: *mut GeanyPlugin, pdata: gpointer) -> gboolean {
|
||||
println!("shenlong init");
|
||||
|
Reference in New Issue
Block a user