mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
207 B
Mathematica
10 lines
207 B
Mathematica
|
|
||
|
///void NSLog(id x);
|
||
|
|
||
|
#include <Cocoa/Cocoa.h>
|
||
|
|
||
|
NSString* nsstring2(string s) {
|
||
|
return [ [ NSString alloc ] initWithBytesNoCopy:s.str length:s.len
|
||
|
encoding:NSUTF8StringEncoding freeWhenDone: false];
|
||
|
}
|