navit-project.org

forum for navit navigation tool
It is currently 21 Nov 2017, 10:15
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Show me where navit start !
PostPosted: 18 Oct 2014, 08:39 
Offline

Joined: 12 Mar 2014, 14:58
Posts: 15
Hi all.

I want to know where navit start. When navit run, it begin in which file. I found but nothing.

Thanks very much !


 Profile  
 
 Post subject: Re: Show me where navit start !
PostPosted: 19 Oct 2014, 15:58 
Offline

Joined: 12 Mar 2014, 14:58
Posts: 15
kdich wrote:
Hi all.

I want to know where navit start. When navit run, it begin in which file. I found but nothing.

Thanks very much !



It's start at start_real.c

But, I can't find plugin_register_vehicle_type() . Haizzzzzzzzzzz


 Profile  
 
 Post subject: Re: Show me where navit start !
PostPosted: 20 Oct 2014, 18:44 
Offline

Joined: 09 Jul 2013, 17:41
Posts: 82
kdich wrote:
But, I can't find plugin_register_vehicle_type() . Haizzzzzzzzzzz

plugin_register_vehicle_type comes from PLUGIN_TYPE(vehicle, ... ) macro expansion in plugin_def.h. Macro itself is defined in plugin.h.

Note, this macro can be expanded in two ways. If there's a #define PLUGIN_C preceeding #include <plugin.h>, you get the function definition, otherwise macro is expanded to function declaration only. So body of the function is actually put into the object file produced from plugin.c, and function definition is accessible from all other files including plugin.h.

tryagain.


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS