Skip to content

Generated file for variadic functions is incorrect. #13

@fake-name

Description

@fake-name

Basically, I'm trying to wrap a file with some functions that have variadic parameters:

AMQP_PUBLIC_FUNCTION
amqp_rpc_reply_t
AMQP_CALL amqp_login(amqp_connection_state_t state, char const *vhost,
                     int channel_max, int frame_max, int heartbeat,
                     amqp_sasl_method_enum sasl_method, ...);

However, the generated code fails to expose the variadic nature of the calls:

amqp_rpc_reply_t amqp_login(amqp_connection_state_t state, char* vhost, 
                        int channel_max, int frame_max, int heartbeat, 
                        amqp_sasl_method_enum sasl_method)

(I added line breaks for readability)

At the moment, I just manually added , ..., but that's somewhat sub-optimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions