mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-24 03:35:43 +00:00
Add "typedef" to NS_ENUM declarations, fix duplicate symbol error
NS_ENUM is designed to go with typedef c.f. Apple docs: https://developer.apple.com/library/content/releasenotes/ObjectiveC/ModernizationObjC/AdoptingModernObjective-C/AdoptingModernObjective-C.html#//apple_ref/doc/uid/TP40014150-CH1-SW6 Fixes #579
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#ifndef TextPathMethod_h
|
||||
#define TextPathMethod_h
|
||||
|
||||
NS_ENUM(NSInteger, TextPathMethod) {
|
||||
typedef NS_ENUM(NSInteger, TextPathMethod) {
|
||||
TextPathMethodAlign,
|
||||
TextPathMethodStretch,
|
||||
TextPathMethodDEFAULT = TextPathMethodAlign,
|
||||
|
||||
Reference in New Issue
Block a user