I want to write an inline function, but I get an error. How can I fix it?
Error information:
Undefined symbo
I think XYInRect() needs to be known prior to being used. Move the function definition to some place in the file before you call it.
XYInRect()