Changeset 2277 for trunk/src/core.h


Ignore:
Timestamp:
Jan 25, 2013, 4:48:37 PM (8 years ago)
Author:
sam
Message:

build: hide LolFx external declarations behind macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core.h

    r2276 r2277  
    6161}
    6262#endif
     63
     64/* External declaration for LolFx files. */
     65#define LOLFX_RESOURCE_DECLARE(name) \
     66    extern "C" char const *LOLFX_RESOURCE_NAME(name)
     67#define LOLFX_RESOURCE_NAME(name) lolfx_resource_##name
    6368
    6469/* If using NaCl or Android, override main() with our version */
Note: See TracChangeset for help on using the changeset viewer.