A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-129.htm below:

17.2 Initializing LispWorks

17.2 Initializing LispWorks All Manuals

>

LispWorks User Guide and Reference Manual

>

17 iOS interface 17.2 Initializing LispWorks

In order to use Lisp code within an application built using Xcode, the main function of the application must call LispWorksInitialize. For example, main might be implemented like this:

#import "LispWorks.h"
 
int main(int argc, char *argv[])
{
    if (!LispWorksInitialize(argc, argv)) abort();
 
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([OthelloAppDelegate class]));
    }
}

LispWorksInitialize is automatically included in the object file generated by deliver. The file LispWorks.h can be found in the examples/ios/OthelloDemo/OthelloDemo/ directory of the LispWorks installation and should be copied into the Xcode project.

LispWorks User Guide and Reference Manual - 20 Sep 2017


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4