Overview
Comment: | Remove -Wno-deprecated-objc-isa-usage.
Inside object_{get,set}Class, a cast is used to get rid of the warning |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
23473713517cd73d84413583f8b37175 |
User & Date: | js on 2013-02-17 10:14:04 |
Other Links: | manifest | tags |
Context
2013-02-17
| ||
13:36 | Use __VA_ARGS__ for Block_copy. check-in: c875400bbf user: js tags: trunk | |
10:14 | Remove -Wno-deprecated-objc-isa-usage. check-in: 2347371351 user: js tags: trunk | |
2013-02-14
| ||
02:08 | Fix two small documentation bugs. check-in: 5b1f9db652 user: js tags: trunk | |
Changes
Modified configure.ac from [0638fbe788] to [1c32db1157].
︙ | ︙ | |||
256 257 258 259 260 261 262 | [Whether to use assembly for lookup]) ]) AS_IF([test x"$enable_seluid24" = x"yes"], [ AC_DEFINE(OF_SELUID24, 1, [Whether to use 24 bit selector UIDs]) ]) | < < < | 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | [Whether to use assembly for lookup]) ]) AS_IF([test x"$enable_seluid24" = x"yes"], [ AC_DEFINE(OF_SELUID24, 1, [Whether to use 24 bit selector UIDs]) ]) ;; "Apple runtime") AC_DEFINE(OF_APPLE_RUNTIME, 1, [Whether we use the Apple ObjC runtime]) AC_CHECK_LIB(objc, objc_msgSend, [ LIBS="-lobjc $LIBS" |
︙ | ︙ |
Modified src/runtime/class.m from [0cc7cd7988] to [640206d718].
︙ | ︙ | |||
558 559 560 561 562 563 564 | objc_global_mutex_unlock(); return (IMP)nil; } Class | | > > | > | > | | 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 | objc_global_mutex_unlock(); return (IMP)nil; } Class object_getClass(id obj_) { struct objc_object *obj = (struct objc_object*)obj_; return obj->isa; } Class object_setClass(id obj_, Class cls) { struct objc_object *obj = (struct objc_object*)obj_; Class old; old = obj->isa; obj->isa = cls; return old; } const char* object_getClassName(id obj) { return object_getClass(obj)->name; } static void free_class(Class rcls) { struct objc_abi_class *cls = (struct objc_abi_class*)rcls; |
︙ | ︙ |