nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/ios: update Objective-C code to use `self`
[nit.git]
/
lib
/
ios
/
app.nit
diff --git
a/lib/ios/app.nit
b/lib/ios/app.nit
index
0e337bc
..
c90c05b
100644
(file)
--- a/
lib/ios/app.nit
+++ b/
lib/ios/app.nit
@@
-115,8
+115,8
@@
redef class App
# Register `self` globally in C so it can be retrieved from iOS callbacks
private fun register_globally in "ObjC" `{
# Register `self` globally in C so it can be retrieved from iOS callbacks
private fun register_globally in "ObjC" `{
- App_incr_ref(recv);
- app_nit_ios_app = recv;
+ App_incr_ref(self);
+ app_nit_ios_app = self;
`}
# Entry point to the iOS framework
`}
# Entry point to the iOS framework