napperley
09/27/2021, 9:10 PMeina_stringshare_replace
function should accept a CPointer<Eina_StringshareVar>? as the first parameter. Instead the function only accepts a CValuesRef<CPointerVar<Eina_StringshareVar>>? as the first parameter.napperley
09/27/2021, 9:12 PM// ...
val str = eina_stringshare_add("Enlightenment is not just a window manager for Linux/X11 and others")
eina_stringshare_replace(str, "One desktop manager to rule them all")
println(str?.toKString())
eina_stringshare_del(str)
// ...
napperley
09/27/2021, 9:15 PMeina_stringshare_del
function isn't being properly mapped by the cinterop tool. The first parameter of the function should be CPointer<Eina_StringshareVar>? instead of String?.ephemient
09/28/2021, 12:54 AMnapperley
09/28/2021, 1:07 AM