Skip to content

Commit

Permalink
[jivesoftware#3] replaced extern with FOUNDATION_EXPORT for better ob…
Browse files Browse the repository at this point in the history
…j-c++ support
  • Loading branch information
Alexander Dodatko committed Jul 27, 2018
1 parent ca5470b commit 54d1212
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
* \returns A cache storage policy to use.
*/

extern NSURLCacheStoragePolicy JAHPCacheStoragePolicyForRequestAndResponse(NSURLRequest * request, NSHTTPURLResponse * response);
FOUNDATION_EXPORT NSURLCacheStoragePolicy JAHPCacheStoragePolicyForRequestAndResponse(NSURLRequest * request, NSHTTPURLResponse * response);
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF

#import "JAHPCacheStoragePolicy.h"

extern NSURLCacheStoragePolicy JAHPCacheStoragePolicyForRequestAndResponse(NSURLRequest * request, NSHTTPURLResponse * response)
FOUNDATION_EXPORT
NSURLCacheStoragePolicy JAHPCacheStoragePolicyForRequestAndResponse(
NSURLRequest * request,
NSHTTPURLResponse * response)
// See comment in header.
{
BOOL cacheable;
Expand Down

0 comments on commit 54d1212

Please sign in to comment.