Differences From Artifact [acfa5ef390]:
- File
src/OFStdIOStream.m
— part of check-in
[9697334084]
at
2020-06-21 02:15:26
on branch amiga-library
— Make of_std{in,out,err} available in Amiga library
This is done by using functions that return a reference to the variable
and defining of_std{in,out,err} to a call into these functions. (user: js, size: 10804) [annotate] [blame] [check-ins using]
To Artifact [73bfd58144]:
- File src/OFStdIOStream.m — part of check-in [c536c268a0] at 2020-07-06 23:50:22 on branch amiga-library — Merge trunk into branch "amiga-library" (user: js, size: 10566) [annotate] [blame] [check-ins using] [more...]
︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | + + + + + | #import "OFInitializationFailedException.h" #import "OFInvalidArgumentException.h" #import "OFNotOpenException.h" #import "OFOutOfRangeException.h" #import "OFReadFailedException.h" #import "OFWriteFailedException.h" #ifdef OF_IOS # undef HAVE_ISATTY #endif #ifdef OF_AMIGAOS # include <proto/exec.h> # include <proto/dos.h> # undef HAVE_ISATTY #endif /* References for static linking */ #ifdef OF_WINDOWS void _reference_to_OFWin32ConsoleStdIOStream(void) { |
︙ | |||
127 128 129 130 131 132 133 | 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | - + | [of_stderr writeFormat: @"[%@.%03d %@(%d)] %@\n", dateString, date.microsecond / 1000, me, getpid(), msg]; objc_autoreleasePoolPop(pool); } |
︙ | |||
417 418 419 420 421 422 423 | 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | - + | - (unsigned int)retainCount { return OF_RETAIN_COUNT_MAX; } - (bool)hasTerminal { |
︙ | |||
454 455 456 457 458 459 460 | 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 | - + - + - + - + - + - + - + - + | #else return -1; #endif } - (void)setForegroundColor: (OFColor *)color { |
︙ |