I am getting the following error:
/home/jose/src/VapourSynth.nim/test/ex12.nim(24, 6) Error: type mismatch: got <ptr VSMap, system.string, ptr VSNodeRef> but expected one of: proc append(vsmap: ptr VSMap; key: string; data: float) first type mismatch at position: 3 required type for data: float but expression 'node' is of type: ptr VSNodeRef proc append(vsmap: ptr VSMap; key: string; data: int) first type mismatch at position: 3 required type for data: int but expression 'node' is of type: ptr VSNodeRef proc append(vsmap: ptr VSMap; key: string; data: ptr VSFrameRef) first type mismatch at position: 3 required type for data: ptr VSFrameRef but expression 'node' is of type: ptr VSNodeRef proc append(vsmap: ptr VSMap; key: string; data: ptr VSFuncRef) first type mismatch at position: 3 required type for data: ptr VSFuncRef but expression 'node' is of type: ptr VSNodeRef proc append(vsmap: ptr VSMap; key: string; data: ptr VSNodeRef) first type mismatch at position: 3 required type for data: ptr VSNodeRef but expression 'node' is of type: ptr VSNodeRef proc append(vsmap: ptr VSMap; key: string; data: string) first type mismatch at position: 3 required type for data: string but expression 'node' is of type: ptr VSNodeRef expression: append(vsmap, "clip", node)
It puzzles me this part:
proc append(vsmap: ptr VSMap; key: string; data: ptr VSNodeRef) first type mismatch at position: 3 required type for data: ptr VSNodeRef but expression 'node' is of type: ptr VSNodeRef
What am I missing? It is complaining about the third argument, but they are both the same! (or not?)