From 8efb6fedff271f1bae8ad8bf1dae75472e444d47 Mon Sep 17 00:00:00 2001 From: Jason Travis Smith Date: Thu, 6 Apr 2017 17:28:02 -0400 Subject: [PATCH] Just fixing some comments. --- src/c_types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c_types.rs b/src/c_types.rs index adedff9..7234c03 100644 --- a/src/c_types.rs +++ b/src/c_types.rs @@ -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 {