Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to find a function definition?

  1. #11
    Join Date
    Sep 2011
    Beans
    30

    Re: How to find a function definition?

    Quote Originally Posted by Simian Man View Post
    Well my advice is still good in general, but yeah that function sure is missing from the source isn't it? I'll hunt around a little bit.
    Thanks for the suggestion, I will try it tonight ...

    My question was a general one because searching a source struck me as a useful tool for the toolbox when debugging.

    I don't pretend I would ever be able to understand a program as large as Rhythmbox, but I though it would be an interesting place to start given I like using the program and I have been having some problems. I naively thought I might be able to fix my problem while learning some programming along way.

  2. #12
    Join Date
    Sep 2011
    Beans
    30

    Re: How to find a function definition?

    A final update for anyone that may have been interested.

    The recommended program cscope was very good for searching the source code.

    Regarding the missing function ...

    The function I was looking for is automatically defined with the macro G_DEFINE_DYNAMIC_TYPE, so the function is part of the Glib/GObject system which explains why I could not find it in the source files ...

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •