Borland (disambiguation)

Borland is an American software company.

Borland may also refer to:

Places

gollark: than making it compile in a `main` function and `subprocess`ing it.
gollark: Anyway, it compiles your entry to a shared library then invokes it via ctypes. I thought that this would be more elegant and efficient a
gollark: And yet it has GLOBALS in it?
gollark: ```pythondef c_wrapper(file): print("Compiling", file) temp = tempfile.mktemp(prefix="lib-compile-") print(temp) if subprocess.run(["gcc", file, "-o", temp, "-shared"]).returncode != 0: raise ValueError("compilation failed") library = ctypes.CDLL(temp) entry = library.entry entry.restype = ctypes.POINTER(ctypes.c_int)```Here's a bit of the *excellent* code.
gollark: Your entry is a function, it doesn't start up a process on every iteration or it would go slower.

See also

  • Borland C (disambiguation)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.