26 mars 2018 09:16 "Hrishi Hiraskar" <hrishihiraskar@xxxxxxxxx> a écrit:
Did you install the modified TrackerAddOn.h so that it is used when youmay be simpler to just copy the prototype of populate_menu to the file where
compile the add-on? It
you implement it
(don't forget the extern "C" in it).
Yes I added extern "C" in TrackerAddOn.h and I'm using it in the system.
You can check with readelf if the function is properly exported by youryour draft proposal with the command to run)
addon (I commented on
The followiing is the output of the command.
~/haiku_addon> readelf -aW addon | grep "populate_menu"
22: 000015f0 1062 FUNC GLOBAL DEFAULT 10
populate_menu__FG9entry_refP8BMessageP9BMenuItem
100: 000015f0 1062 FUNC GLOBAL DEFAULT 10
populate_menu__FG9entry_refP8BMessageP9BMenuItem