Integrating QuickTime with Cocoa
Subject:   why no pointer?
Date:   2003-08-18 16:59:06
From:   anonymous2
Great article -- but one question: in line 48 of the source code for NSMovie_Example_Controller.h, why is the Quicktime_Movie instance variable of type Movie rather than a pointer to Movie? Is that a typo, or am I missing something... thanks.
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Re: why no pointer?
    2003-08-21 12:27:50  anonymous2 [View]

    Movie is a typedef for MovieRecord *; MovieRecord is the structure that holds the movie data. The type Movie is itself a pointer.
    • Re: why no pointer?
      2003-08-22 08:20:20  anonymous2 [View]

      Thanks for explaining that, I missed the typedef declaration somehow. (When I get home to my Mac I'll check it out again.)