#include <kernwin.hpp> // For get_screen_ea() definition
#include <funcs.hpp>
ea_t addr = get_screen_ea();
// Get the function before the one containing the
// address where the user's cursor is positioned
func_t *prevFunc = get_prev_func(addr);
if (prevFunc != NULL)
msg("Previous function starts at %a\n", prevFunc->startEA);







