diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-05-14 21:15:16 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-05-14 21:15:16 +0000 |
commit | b284e81eead4711b0d7c2ff12bd7e550cfda96c7 (patch) | |
tree | 8bef852b9049d8a66d28cef6520da506d6ec5718 /Foundation/GTMGeometryUtils.h | |
parent | 70ddc324ab781c6a9dc8680bf192db1fda5883be (diff) |
[Author: dmaclach]
Fix up GTMGeometryUtils header so that it works properly in a C++ environment
R=thomasvl
DELTA=8 (8 added, 0 deleted, 0 changed)
Diffstat (limited to 'Foundation/GTMGeometryUtils.h')
-rw-r--r-- | Foundation/GTMGeometryUtils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Foundation/GTMGeometryUtils.h b/Foundation/GTMGeometryUtils.h index c3d6b1a..5c14303 100644 --- a/Foundation/GTMGeometryUtils.h +++ b/Foundation/GTMGeometryUtils.h @@ -22,6 +22,10 @@ #import <Foundation/Foundation.h> #import "GTMDefines.h" +#ifdef __cplusplus +extern "C" { +#endif + enum { GTMScaleProportionally = 0, // Fit proportionally GTMScaleToFit, // Forced fit (distort if necessary) @@ -450,3 +454,7 @@ GTM_INLINE CGFloat GTMNSDistanceBetweenPoints(NSPoint pt1, NSPoint pt2) { } #endif // !GTM_IPHONE_SDK + +#ifdef __cplusplus +} +#endif |