call a function on a different compilation unit
julio <[email protected]> Mon, 27 Apr 2015 20:06:46 -0600
| Newsgroups | gmane.comp.gnome.love |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am trying to solve an issue on gnome photos and now I am thinking that it could be fixed by calling a function inside photos-searchbar.c the thing is that this function takes as parameter an object (you guessed!) PhotosSearchbar, actually a pointer to an object of that Class... and all the functions inside that file are static functions, as someone said I can not call a function of that file from another .c file is there a way around this? another thing is that there is no reference to the PhotosSearchbar object on the photos-embed.c file, so I can not pass it as an argument either... any help or guidance is appreciated Julio Ordonez Viales