You've already forked libadalang
mirror of
https://github.com/AdaCore/libadalang.git
synced 2026-02-12 12:28:54 -08:00
The low level function accepts a ctypes.c_char_p, which requires a bytes instance, so users passing a str will get a TypeError exception. Use the dedicated _unwrap_charset function to run the automatic conversion in this case. TN: VB02-014