Hello, I'm new in this forum so I hope i'm within the rules :P
Anyways... about the part of the code that I don't understand. It comes from gtkmozembed and many other open sourced ... source.
They would define something like :
and above it, they would have a macro:Code:GTKMOZEMBED_API(void) gtk_moz_embed_close_stream (GtkMozEmbed *embed);
Now... I understand the macros...Code:#define GTKMOZEMBED_API(type) type
But... Where's the rest of the function??
How does it know what to do if we type:
I have scanned & used the search on all of the source files, and I can't seems to find a link for it...
Another source file that I can relate to is the source of salamander:
in main.h, there's a definition for a function
But I can't find the rest of the function, not in main.c, not in the included files, not in anything.Code:void create_menu(geckobrowser *mozzie);
Is it a type of overloading?
if so, where's the original function?