Skip to content

Instantly share code, notes, and snippets.

@jerstlouis
Created June 12, 2016 11:21
Show Gist options
  • Save jerstlouis/e268324d30188fab6a464fb37630113c to your computer and use it in GitHub Desktop.
Save jerstlouis/e268324d30188fab6a464fb37630113c to your computer and use it in GitHub Desktop.
import sys
from _pyEcere import *
def funStuff(fun):
app = lib.eC_init(True, len(sys.argv), [ffi.new("char[]", i.encode('utf8')) for i in sys.argv])
lib.ecere_init(app)
lib.PrintLn(lib.class_String, fun.encode('utf8'), ffi.NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment