general: add comment for FFI and wrapper phases
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
mod ffi_point {
|
mod ffi_point {
|
||||||
|
//FFI
|
||||||
|
|
||||||
use std::os::raw::c_double;
|
use std::os::raw::c_double;
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
@@ -23,6 +25,7 @@ mod ffi_point {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Safe wrapper
|
// Safe wrapper
|
||||||
|
|
||||||
pub struct Point {
|
pub struct Point {
|
||||||
ptr: *mut PointShape,
|
ptr: *mut PointShape,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user