I'd like to know if it's possible, within a static library, call a function that the implementation is in my application instead of in the library.
Like this:
Static Library
foo.h
void foo_func();
foo.c
#include "foo.h"
void foo_func()
{
app_func();
}
Application
main.c
#include <foo.h>
uint8_t flag = FALSE;
uint8 main()
{
foo_func();
while(!flag);
return 0;
}
void app_func()
{
flag = TRUE;
}