I want to use curl in my app (as in the example, k...
# kotlin-native
l
I want to use curl in my app (as in the example, kotlinconf-spinner). I write: class KUrl () { var curl = curl_easy_init() fun unescape(...) {... curl_easy_unrscape(...) ...} If I run, then I get result: Segmention error. I think, statement 'var curl = curl_easy_init()...' don't init or don't fixed pointer
I try remove curl_easy_init() to body fun unescape () and all work well
o
it is working in Spinner, maybe you do build some other code on top of KUrl class. In this case, some code snippet would be helpful, otherwise it's hard to help