cliclick icon indicating copy to clipboard operation
cliclick copied to clipboard

Add function prototypes to interface

Open ryandesign opened this issue 5 years ago • 1 comments

At the point where distanceBetweenPoint or cubicEaseInOut are invoked, old compilers complain:

error: incompatible types in initialization

This is solved by declaring the function prototypes in the interface.

ryandesign avatar Oct 01 '20 22:10 ryandesign

The methods are deliberately not in the header file, as they aren’t meant to be regarded as public methods. Which old compilers (on which system versions) complain? I’m asking to verify which workaround to choose.

BlueM avatar Oct 25 '20 07:10 BlueM