Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Compilation Changes #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pablomarx
Copy link

The vast majority of the changes are simple -- Foundation import instead of AppKit, avoiding NSPoint/NSRect/NSSize on iOS (#if TARGET_OS_IPHONE).

Bulk of the change set is including an iOS compatible libffi (from https://github.com/parmanoir/jscocoa/ ).

FSMethod required changes as NSMapTable doesn't exist -- I've made a separate copy of this for iOS, as I'm not entirely sure about the changes.

NSAllocateCollectable and siblings don't exist -- So they were implemented in iOS-glue, behaving as I believe these would on a non-GC system.

Steve White added 2 commits August 16, 2011 12:37
Alternate version of FSNSValue for iOS.

Alternate version of FSMethod for iOS -- which likely doesn't work right.

Barebones iOS app -- enter an fscript expression into the textfield, see the result in the textview below.

libffi for iphone (device+simulator)
Don't use result if isOK == NO, instead use the errorMessage.
@pmougin
Copy link
Owner

pmougin commented Aug 16, 2011

Looks great.
I'm a bit overloaded right now but will take care of it as soon as I get some time.

Philippe

Le 16 août 2011 à 22:31, pablomarx a écrit :

The vast majority of the changes are simple -- Foundation import instead of AppKit, avoiding NSPoint/NSRect/NSSize on iOS (#if TARGET_OS_IPHONE).

Bulk of the change set is including an iOS compatible libffi (from https://github.com/parmanoir/jscocoa/ ).

FSMethod required changes as NSMapTable doesn't exist -- I've made a separate copy of this for iOS, as I'm not entirely sure about the changes.

NSAllocateCollectable and siblings don't exist -- So they were implemented in iOS-glue, behaving as I believe these would on a non-GC system.

Reply to this email directly or view it on GitHub:
#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants