Skip to content

Multiple Constructors supported. #24

@xemjeff

Description

@xemjeff

If I try to register multiple constructors for a class, only one of them is used:

class Vector3
{
public:
	Vector3();
	Vector3(double x_, double y_, double z_);

I register both constructors:

	dukglue_register_constructor<Vector3, double, double, double>(ctx, "Vector3");
	dukglue_register_constructor<Vector3>(ctx, "Vector3");

but now I can't use the first constructor.

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