genie

    2熱度

    1回答

    我想在Genie中創建一個列表,但它似乎不起作用。編譯代碼: [indent=2] init var l = new list of string 產生這些錯誤: [email protected]:~/Documents$ valac helloworld.gs helloworld.gs:2.10-2.24: error: The name `Gee' does not exi

    3熱度

    1回答

    Vala和Genie之間的關係非常像js和CoffeeScript之間的關係。 js和cs可以用$ coffee -bc和$ js2coffee相互編譯。精靈和瓦拉在這裏呢?

    4熱度

    2回答

    我想嘗試編程genie,但我找不到任何源代碼或任何版本控制存儲庫。有人知道它在哪裏可以找到?

    3熱度

    1回答

    任何人都可以指向我在精靈外部聲明的語法。 Extern decls在Vala中是支持的,因此它們也應該在Genie中可用,但我似乎無法使用正確的語法。我試圖公開C的「退出」函數,以便在出現異常後退出應用程序。對於EXTERN 瓦拉語法: extern void exit(int exit_code); 精靈語法的extern? extern def exit(exit_code:int):vo

    6熱度

    2回答

    我試圖填充一個Libgee HashMap,其中每個條目都有一個字符串作爲關鍵字,並將一個函數作爲值。這可能嗎?我想這樣的事情: var keybindings = new Gee.HashMap<string, function>(); keybindings.set ("<control>h", this.show_help()); keybindings.set ("<control>q