Santa María del Mar, Havana
Santa María del Mar is a sandy beach located 20 km (12 mi) east of Havana, Cuba along the Via Blanca highway.
Overview
It is a segment of a chain of beaches called the Eastern Beaches Spanish: Playas del Este which extend for 24 km (15 mi) along the north coast of Havana province in the municipality of Habana del Este.
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.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.