mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: add builtin.init
call inside of _vinit
This commit is contained in:
@ -21,6 +21,10 @@ const (
|
||||
fn C.puts(charptr)
|
||||
*/
|
||||
|
||||
fn init() {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
pub fn println(s string) {
|
||||
// TODO: a syscall sys_write on linux works, except for the v repl.
|
||||
// Probably it is a stdio buffering issue. Needs more testing...
|
||||
|
Reference in New Issue
Block a user