Skip to content

Automagical external function header definition #2

Open
@tsafin

Description

@tsafin

At the moment we describe arguument types via $lb() call, i.e.

set argTypes = $lb(..gd.#POINTER, ..gd.#POINTER, ..gd.#INT, ..gd.#INT)
do ..gd.CallFunction("gdImageGifAnimBegin", ..gd.#VOID, argTypes, im, out, 1, 0)

It would be cool if we would have some compile-time way to define function argument types, so type coercion will be done authomagically at the call moment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions