author Gregory Szorc <gps@mozilla.com>
Thu, 06 Feb 2014 13:00:20 -0800
changeset 167658 637e219bdb5eb6ca15c74cfb9aa1f75eb972f4de
parent 138302 e6ebdb6069c7542f779280487e3e6a7ee76d8cb1
permissions -rw-r--r--
Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted Many moz.build files define things that could be defined in parent moz.build files. Keeping the number of moz.build files low helps with build times due to less I/O and fewer directories traversed. This patch eliminates a lot of moz.build files by moving their content into parent moz.build files.

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef xrecore_h__
#define xrecore_h__

#include "nscore.h"

 * Import/export macros for libXUL APIs.
#define XRE_API(type, name, params) \
  typedef type (NS_FROZENCALL * name##Type) params; \
  extern name##Type name NS_HIDDEN;
#elif defined(IMPL_LIBXUL)
#define XRE_API(type, name, params) EXPORT_XPCOM_API(type) name params;
#define XRE_API(type, name, params) IMPORT_XPCOM_API(type) name params;

#endif // xrecore_h__