1
0
mirror of https://github.com/medigor/example-native-api-rs.git synced 2025-07-05 00:58:53 +02:00

add simple example

This commit is contained in:
medigor
2023-10-14 21:38:39 +03:00
parent 7d8b2f500d
commit d74087af76
11 changed files with 562 additions and 156 deletions

View File

@ -1,6 +1,8 @@
mod addin1;
mod addin2;
mod simple;
mod ffi;
mod macros;
use std::{
ffi::{c_int, c_long, c_void},
@ -8,11 +10,10 @@ use std::{
};
use addin1::Addin1;
use ffi::{destroy_component, AttachType};
use addin2::Addin2;
use ffi::{create_component, destroy_component, AttachType};
use utf16_lit::utf16_null;
use crate::{addin2::Addin2, ffi::create_component};
pub static mut PLATFORM_CAPABILITIES: AtomicI32 = AtomicI32::new(-1);
#[allow(non_snake_case)]