I am just playing around with FFI just for my learning (I am a newbie). I have 
the code [here](https://github.com/mantielero/VapourSynth.nim). I will put in 
this thread my questions.

My first question is about how to make an struct with methods:

  * 
[C](https://github.com/mantielero/VapourSynth.nim/blob/master/include/VapourSynth.h#L243)
  * 
[Nim](https://github.com/mantielero/VapourSynth.nim/blob/master/VapourSynthWrapper.nim#L125)



Is this OK?

Reply via email to