Skip to content

Restrict private headers visibility.#16

Open
VasilErema wants to merge 2 commits intobenlodotcom:masterfrom
VasilErema:master
Open

Restrict private headers visibility.#16
VasilErema wants to merge 2 commits intobenlodotcom:masterfrom
VasilErema:master

Conversation

@VasilErema
Copy link

@VasilErema VasilErema commented Feb 23, 2021

If we use use_modular_headers! in Podfile we have all headers in umbrella header. This change allow to leave only one public header BLWebSocketsServer.h

@VasilErema
Copy link
Author

BLWebSocketsServer-umbrella.h is now looks like this:

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif

#import "BLWebSocketsServer.h"

FOUNDATION_EXPORT double BLWebSocketsServerVersionNumber;
FOUNDATION_EXPORT const unsigned char BLWebSocketsServerVersionString[];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants