mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os,net: cleanup deprecated @VROOT usages
This commit is contained in:
@ -495,7 +495,6 @@ pub fn walk(path string, f fn (string)) {
|
||||
pub fn log(s string) {
|
||||
//$if macos {
|
||||
// Use NSLog() on macos
|
||||
// C.darwin_log(s)
|
||||
//} $else {
|
||||
println('os.log: ' + s)
|
||||
//}
|
||||
|
@ -3,8 +3,6 @@
|
||||
// that can be found in the LICENSE file.
|
||||
module os
|
||||
|
||||
#include "@VROOT/vlib/os/os_darwin.m"
|
||||
|
||||
pub const (
|
||||
sys_write = 4
|
||||
sys_open = 5
|
||||
@ -14,5 +12,3 @@ pub const (
|
||||
sys_open_nocancel = 398
|
||||
sys_stat64 = 338
|
||||
)
|
||||
|
||||
fn C.darwin_log(s string)
|
||||
|
@ -1,7 +0,0 @@
|
||||
/*
|
||||
NSString* nsstring(string s);
|
||||
|
||||
void darwin_log(string s) {
|
||||
NSLog(nsstring(s));
|
||||
}
|
||||
*/
|
Reference in New Issue
Block a user