You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
381 B
20 lines
381 B
//! C API functions and interop
|
|
use super::{
|
|
*,
|
|
handle::*,
|
|
c::*,
|
|
};
|
|
use libc::{
|
|
c_int,
|
|
};
|
|
use std::{
|
|
ptr::NonNull,
|
|
};
|
|
|
|
#[link(name="bf_intern_ghost")]
|
|
extern "C" {
|
|
pub fn GHOST_CreateSystem() -> GHOST_SystemHandle;
|
|
pub fn GHOST_SystemInitDebug(_: GHOST_SystemHandle, _: c_int);
|
|
pub fn GHOST_DisposeSystem(_: GHOST_SystemHandle) -> GHOST_TSuccess;
|
|
}
|