[Info-vax] in-memory editing with EDT or EVE
Lawrence D'Oliveiro
ldo at nz.invalid
Sun Nov 24 19:33:29 EST 2024
On Sun, 24 Nov 2024 19:27:35 -0500, Arne Vajhøj wrote:
> And using a normal shareable image and ctypes, then it also works in
> Python:
Soon as you mentioned “ctypes”, I had to have a look. ;)
I’m not a fan of wildcard imports. I know you tend to need a lot of stuff
from ctypes, but I prefer to do
import ctypes as ct
so you can then write
memedit.memedt.argtypes = [ct.c_char_p, ct.c_char_p, ct.c_int]
memedit.memedt.restype = ct.c_int
etc.
More information about the Info-vax
mailing list