# Where is the function _MAV_RETURN_ defined?

I'm trying to understand the source code of ArduPlane. The MAVLink message is decoded using a set of _MAV_RETURN_???? functions, e.g. _MAV_RETURN_float

When I grep recursively for _MAV_RETURN_float, I could not find where it is defined. I wonder if I'm missing anything.

UPDATE
Here is the source code of Ardupilot, including ArduPlane.
https://github.com/diydrones/ardupilot

• they look like macros and not functions. take a look into the header file (.h or .hpp). Anyway, since not everybody has ArduPlane installed it should be nice if you points us to the repository on GitHub if present (as I started it was there) – Dave Jan 1 '15 at 9:16
• @Dave thanks for your reply, I updated the repository of the source code. I grepped recursively for all files in all sub-folders, and I could only see places it is called. – qsp Jan 2 '15 at 20:13
• You are right. I've downloaded the whole repositiry and searched with grep thru all files. I get only return functions, but not the macro. I saw in internet but nothing. I think you should ask in the diydrones forum. Sorry! – Dave Jan 2 '15 at 22:47
• @Dave I already asked in the APM forum, and nobody has replied me yet. Thanks anyway. – qsp Jan 4 '15 at 4:20