@Araq That makes sense. I had to define the following with `ref` because `next`/`prev` are `GList`: type # List management GList* {.importc.} = ref object data* {.importc.} : Gpointer next* {.importc.} : GList prev* {.importc.} : GList Run
I am looking into how to make it an object. @Stefan_Salewski First, thank you very much for taking the time for getting a working example of poppler within gintro. It is much appreciated. Regarging your last comment, you got it very wrong to be frank: 1. I wasn't trying to add poppler support to `gintro`. The reason for forking `gintro` was that I read the message: > [...] But as the number of serious gintro users is tiny, we may fully remove > gintro from GitHub by end of 2022. [...] 2. I'd love to contribute, but I simply don't have enough knowledge. I don't know how `gintro` works or it is organized. I am NOT a programmer. Programming is my hobby. It relax me and keeps my brain active. 3. Not being a pro implies that I don't know some of the things that might be obvious for you. For instance, I wasn't aware that it was polite to ask for authorization for forking. I have forked very little repositories (I am not confortable at it -I am afraid of breaking something-). I have never asked for authorization before and this is the first time somebody says to me that it is similar to stealing. Once, I got a contribution in one of my repositories and it felt to me like... a contribution. Nonetheless, I deleted the fork. I just hope you archive it rather than removing it.