From 5866aedb30ed15bb879c89cfb0241c091fdc3d47 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 30 Nov 2019 07:57:30 -0800 Subject: [PATCH] make internal symbols private --- src/v8.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/v8.rs b/src/v8.rs index c1157d55..99a226be 100644 --- a/src/v8.rs +++ b/src/v8.rs @@ -11,15 +11,15 @@ use crate::platform::Platform; use crate::support::UniquePtr; extern "C" { - pub fn v8__V8__SetFlagsFromCommandLine( + fn v8__V8__SetFlagsFromCommandLine( argc: *mut c_int, argv: *mut *mut c_char, ); - pub fn v8__V8__GetVersion() -> *const c_char; - pub fn v8__V8__InitializePlatform(platform: &'static mut Platform); - pub fn v8__V8__Initialize(); - pub fn v8__V8__Dispose() -> bool; - pub fn v8__V8__ShutdownPlatform() -> (); + fn v8__V8__GetVersion() -> *const c_char; + fn v8__V8__InitializePlatform(platform: &'static mut Platform); + fn v8__V8__Initialize(); + fn v8__V8__Dispose() -> bool; + fn v8__V8__ShutdownPlatform() -> (); } #[derive(Debug, Eq, PartialEq)]