News for hackers. Stuff that matters.
Re:Pointers in Python by Thorrez on Sunday June 16, 2019 @11:13PM (#20199548)
I think restype should be set to None in addition to setting argtypes. That way you can avoid the weird number being printed out:

    >>> add_one(ctypes.byref(x))
    998793640

There are no comments on this comment yet.