We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There seems to be an inconsistency in return types of functions that are seemingly same in the C header.
cpShape* cpCircleShapeNew(cpBody *body, cpFloat radius, cpVect offset); cpShape* cpSegmentShapeNew(cpBody *body, cpVect a, cpVect b, cpFloat radius);
cpShape* cpCircleShapeNew(cpBody *body, cpFloat radius, cpVect offset);
cpShape* cpSegmentShapeNew(cpBody *body, cpVect a, cpVect b, cpFloat radius);
these return a raw pointer, instead of a wrapper
cpShape* cpBoxShapeNew(cpBody *body, cpFloat width, cpFloat height, cpFloat radius);
this returns a wrapped object.
Could this somehow be connected to libffi and passing cpVect by-value?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There seems to be an inconsistency in return types of functions that are seemingly same in the C header.
cpShape* cpCircleShapeNew(cpBody *body, cpFloat radius, cpVect offset);
cpShape* cpSegmentShapeNew(cpBody *body, cpVect a, cpVect b, cpFloat radius);
these return a raw pointer, instead of a wrapper
cpShape* cpBoxShapeNew(cpBody *body, cpFloat width, cpFloat height, cpFloat radius);
this returns a wrapped object.
Could this somehow be connected to libffi and passing cpVect by-value?
The text was updated successfully, but these errors were encountered: