mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: remove the need for [console] for gg or ui programs on windows (#15912)
This commit is contained in:
@@ -403,8 +403,6 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
|
||||
* Main
|
||||
*
|
||||
******************************************************************************/
|
||||
// is needed for easier diagnostics on windows
|
||||
[console]
|
||||
fn main() {
|
||||
// App init
|
||||
mut app := &App{
|
||||
|
@@ -577,7 +577,6 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
|
||||
* Main
|
||||
*
|
||||
******************************************************************************/
|
||||
[console] // is needed for easier diagnostics on windows
|
||||
fn main() {
|
||||
// App init
|
||||
mut app := &App{
|
||||
|
@@ -392,7 +392,6 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
|
||||
/******************************************************************************
|
||||
* Main
|
||||
******************************************************************************/
|
||||
[console] // is needed for easier diagnostics on windows
|
||||
fn main() {
|
||||
// App init
|
||||
mut app := &App{
|
||||
|
@@ -586,7 +586,6 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
|
||||
/******************************************************************************
|
||||
* Main
|
||||
******************************************************************************/
|
||||
[console] // is needed for easier diagnostics on windows
|
||||
fn main() {
|
||||
// App init
|
||||
mut app := &App{
|
||||
|
@@ -475,7 +475,6 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
|
||||
/******************************************************************************
|
||||
* Main
|
||||
******************************************************************************/
|
||||
[console] // is needed for easier diagnostics on windows
|
||||
fn main(){
|
||||
// App init
|
||||
mut app := &App{
|
||||
|
@@ -265,8 +265,6 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
|
||||
/******************************************************************************
|
||||
* Main
|
||||
******************************************************************************/
|
||||
// is needed for easier diagnostics on windows
|
||||
[console]
|
||||
fn main() {
|
||||
/*
|
||||
obj.tst()
|
||||
|
@@ -13,7 +13,6 @@ mut:
|
||||
font_normal int
|
||||
}
|
||||
|
||||
[console]
|
||||
fn main() {
|
||||
mut color_action := gfx.ColorAttachmentAction{
|
||||
action: .clear
|
||||
|
@@ -61,7 +61,6 @@ mut:
|
||||
inited bool
|
||||
}
|
||||
|
||||
[console]
|
||||
fn main() {
|
||||
mut color_action := gfx.ColorAttachmentAction{
|
||||
action: .clear
|
||||
|
Reference in New Issue
Block a user