Just fixing some comments.
This commit is contained in:
parent
ae902d1508
commit
8efb6fedff
@ -53,12 +53,12 @@ pub type CDouble = f64;
|
||||
// Void types.
|
||||
/// To return void from a 'C' function it should return an empty tuple ().
|
||||
/// This type is just a descriptive version of that. **DO NOT** use this
|
||||
/// as an argument to a function. Use the c_void type for that.
|
||||
/// as an argument to a function. Use the CVoid type for that.
|
||||
pub type CReturnVoid = ();
|
||||
|
||||
/// This acts as a 'C' void pointer to pass to functions. **DO NOT**
|
||||
/// use this as a return type from a 'C' function. If a 'C' function
|
||||
/// returns void, then use the c_return_void type for that.
|
||||
/// returns void, then use the CReturnVoid type for that.
|
||||
#[repr(u8)]
|
||||
pub enum CVoid
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user