mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-10-07 09:33:28 +00:00
Add gitignore, fix scheme for no implicit dependencies, fix NSAffineTransform build, implement function
This commit is contained in:
parent
72494bbf9a
commit
859f00928a
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
xcuserdata
|
||||
build
|
||||
system
|
||||
.DS_Store
|
@ -4,7 +4,7 @@
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
buildImplicitDependencies = "NO">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
@ -31,14 +31,23 @@
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "FE01A8070C5D9BCB00AEA51A"
|
||||
BuildableName = "AppKit.framework"
|
||||
BlueprintName = "AppKit-Windows-i386"
|
||||
ReferencedContainer = "container:AppKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
|
@ -1,5 +1,19 @@
|
||||
#import <CoreFoundation/CFByteOrder.h>
|
||||
|
||||
CFSwappedFloat32 CFConvertFloat32HostToSwapped(Float32 value) {
|
||||
union {
|
||||
CFSwappedFloat32 w;
|
||||
Float32 f;
|
||||
} swap;
|
||||
swap.f=value;
|
||||
|
||||
#ifdef __LITTLE_ENDIAN__
|
||||
swap.w.v=CFSwapInt32(swap.w.v);
|
||||
#endif
|
||||
|
||||
return swap.w;
|
||||
}
|
||||
|
||||
Float32 CFConvertFloat32SwappedToHost(CFSwappedFloat32 value) {
|
||||
union {
|
||||
CFSwappedFloat32 w;
|
||||
|
@ -7,6 +7,7 @@ The above copyright notice and this permission notice shall be included in all c
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <Foundation/NSAffineTransform.h>
|
||||
#import <Foundation/NSRaise.h>
|
||||
#import <Foundation/NSKeyedArchiver.h>
|
||||
#import <Foundation/NSKeyedUnarchiver.h>
|
||||
#import <CoreFoundation/CFByteOrder.h>
|
||||
#include <math.h>
|
||||
|
@ -16,4 +16,7 @@ STRIP_INSTALLED_PRODUCT = YES
|
||||
|
||||
PREBINDING = NO
|
||||
|
||||
MACOSX_DEPLOYMENT_TARGET =
|
||||
LD_DEPENDENCY_INFO_FILE =
|
||||
|
||||
FRAMEWORK_SEARCH_PATHS = $(DSTROOT)/Frameworks
|
||||
|
Loading…
Reference in New Issue
Block a user