Overview
Comment: | Better dissection of what should be public and private. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | runtime |
Files: | files | file ages | folders |
SHA3-256: |
31e7b3d756ed3802907be8be58e48ea3 |
User & Date: | js on 2012-03-04 23:48:46 |
Other Links: | branch diff | manifest | tags |
Context
2012-03-05
| ||
00:01 | Add sel_isEqual(). check-in: 7215a36f5a user: js tags: runtime | |
2012-03-04
| ||
23:48 | Better dissection of what should be public and private. check-in: 31e7b3d756 user: js tags: runtime | |
20:47 | Make OFBlock compile with the ObjFW runtime. check-in: 8002f3e823 user: js tags: runtime | |
Changes
Modified src/runtime/category.m from [aeaf0363b4] to [d939f47c4b].
︙ | |||
101 102 103 104 105 106 107 | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | - + - + | for (i = 0; i < symtab->cat_def_cnt; i++) { register_selectors(cats[i]); register_category(cats[i]); } } |
︙ |
Modified src/runtime/class.m from [283e2434aa] to [44fd744eb1].
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | - - + + - - + + - - + + | return NO; } void objc_update_dtable(Class cls) { |
︙ | |||
289 290 291 292 293 294 295 | 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 | - - + + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + | { return objc_sparsearray_get(cls->dtable, (uint32_t)sel->uid); } const char* objc_get_type_encoding(Class cls, SEL sel) { |
︙ |
Modified src/runtime/protocol.m from [548197efb9] to [76c52af657].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | - - + + | #import "runtime.h" #import "runtime-private.h" @implementation Protocol - (BOOL)_isImplementedByClass: (Class)cls { |
︙ |
Modified src/runtime/runtime-private.h from [5494f2f715] to [76682de6f9].
︙ | |||
53 54 55 56 57 58 59 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | - + - - - - - - | }; struct objc_abi_category { const char *category_name; const char *class_name; struct objc_abi_method_list *instance_methods; struct objc_abi_method_list *class_methods; |
︙ | |||
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | + + + + + + - + | BOOL empty; }; struct objc_sparsearray_level3 { const void *buckets[256]; BOOL empty; }; enum objc_abi_class_info { OBJC_CLASS_INFO_CLASS = 0x01, OBJC_CLASS_INFO_METACLASS = 0x02, OBJC_CLASS_INFO_INITIALIZED = 0x04 }; typedef struct { of_mutex_t mutex; of_thread_t owner; int count; } objc_mutex_t; extern void objc_register_all_categories(struct objc_abi_symtab*); |
︙ |
Modified src/runtime/runtime.h from [92e1b049bf] to [95328bedcc].
︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - + - + - - - - + + + + + + + + + + + + + + + + + + + + + + + | Class isa; Class superclass; const char *name; unsigned long version; unsigned long info; unsigned long instance_size; void *ivars; |
︙ |