Add gitignore, fix scheme for no implicit dependencies, fix NSAffineTransform build, implement function

This commit is contained in:
Christopher Lloyd 2015-03-22 22:39:08 -04:00
parent 72494bbf9a
commit 859f00928a
5 changed files with 34 additions and 3 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
xcuserdata
build
system
.DS_Store

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -16,4 +16,7 @@ STRIP_INSTALLED_PRODUCT = YES
PREBINDING = NO
MACOSX_DEPLOYMENT_TARGET =
LD_DEPENDENCY_INFO_FILE =
FRAMEWORK_SEARCH_PATHS = $(DSTROOT)/Frameworks