to call this function from a program I must know its "export". The problem that really bothers me is that linker gives strange names for functions, eg.: _Z8my_functionPv instead of my_function. Maybe there's a way to prevent compiler/linker from doing that?
Thanks for help.