Skip to content

use `c_char` for plugin arguments instead of `i8`

Michael Aaron Murphy requested to merge nivkner:armfix into master

Created by: nivkner

Problem: [describe the problem you try to solve with this PR.] Treating c_char and i8 as interchangeable makes program less portable since these types are defined differently per-platform.

Solution: [describe carefully what you change by this PR.] Use the c_char alias whenever applicable instead of i8.

TODOs: [what is not done yet.] Find and fix other such problems with types used without aliases and maybe switch to higher-lever wrapper libraries to prevent such issues altogether.

Merge request reports