Title: Support replacing global function pointers in a shared library
Type: behavior Stage:
Components: ctypes Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Unai Martinez
Priority: normal Keywords:

Created on 2020-07-20 15:21 by Unai Martinez, last changed 2020-07-20 15:21 by Unai Martinez.

Messages (1)
msg374013 - (view) Author: Unai Martinez (Unai Martinez) Date: 2020-07-20 15:21
As discussed in, it seems currently not possible to replace an existing global variable in a shared library which contains a function pointer, with a callback defined in Python (through ctypes). However, it is possible to replace global variables of other types, such as `int`.
Date User Action Args
2020-07-20 15:21:21Unai Martinezcreate