Browse Source

added extern "C" flag for oui.h

pull/1/head
Leonard Ritter 10 years ago
parent
commit
4e96ad8476
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      oui.h

+ 8
- 0
oui.h View File

@@ -25,6 +25,10 @@ THE SOFTWARE.
#ifndef _OUI_H_ #ifndef _OUI_H_
#define _OUI_H_ #define _OUI_H_


#ifdef __cplusplus
extern "C" {
#endif

/* /*
Revision 2 (2014-07-13) Revision 2 (2014-07-13)


@@ -584,6 +588,10 @@ OUI_EXPORT int uiGetRelToRight(int item);
// or -1 if not set. // or -1 if not set.
OUI_EXPORT int uiGetRelToDown(int item); OUI_EXPORT int uiGetRelToDown(int item);


#ifdef __cplusplus
};
#endif

#endif // _OUI_H_ #endif // _OUI_H_


#ifdef OUI_IMPLEMENTATION #ifdef OUI_IMPLEMENTATION


Loading…
Cancel
Save