Changes

Jump to: navigation, search

Real World Mozilla First XPCOM Component

121 bytes added, 20:02, 27 February 2007
Examining IFirstXpcom.h
=== Use of header guards ===
Header guards (see [http://en.wikipedia.org/wiki/Include_guard Include Guards]) are a portable technique for ensuring that includes or defines are only done once, for example, that nsISupports. h only be included once:  #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif Another way of doing this, especially with the Microsoft compiler, is to use
#pragma once

Navigation menu