1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-10 12:47:45 +03:00
mal/swift/bridging-header.h
2015-03-23 01:23:27 -07:00

16 lines
751 B
C

// This is the "bridging" file for the Swift version of MAL. A bridging file
// brings in C/ObjC types and makes them available to Swift source code, using
// the type conversion process described in:
//
// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithCAPIs.html#//apple_ref/doc/uid/TP40014216-CH8-XID_11
//
// The mechanism for creating and using a bridging file is only documented for
// Xcode users. However, the following article describes how to specify a
// bridging file on the command line:
//
// http://stackoverflow.com/questions/24131476/compiling-and-linking-swift-plus-objective-c-code-from-the-os-x-command-line
//
#include <stdlib.h>
#include <editline/readline.h>