equal
deleted
inserted
replaced
22 %{ |
22 %{ |
23 |
23 |
24 #ifndef _STDIO_H_INCLUDED_ |
24 #ifndef _STDIO_H_INCLUDED_ |
25 # include <stdio.h> |
25 # include <stdio.h> |
26 # define _STDIO_H_INCLUDED_ |
26 # define _STDIO_H_INCLUDED_ |
|
27 #endif |
|
28 |
|
29 #ifndef REMOVE_LATER |
|
30 # define __win32_stdout() stdout |
|
31 # define __win32_stderr() stderr |
|
32 # define __win32_stdin() stdin |
|
33 #else |
|
34 extern FILE *__win32_stdin(); |
|
35 extern FILE *__win32_stderr(); |
|
36 extern FILE *__win32_stdout(); |
27 #endif |
37 #endif |
28 |
38 |
29 %} |
39 %} |
30 |
40 |
31 ! ! |
41 ! ! |
361 |
371 |
362 "return a stderr handle" |
372 "return a stderr handle" |
363 |
373 |
364 %{ |
374 %{ |
365 #ifdef WIN32 |
375 #ifdef WIN32 |
366 extern FILE *__win32_stderr(); |
|
367 RETURN ( __MKOBJ( __win32_stderr() )); |
376 RETURN ( __MKOBJ( __win32_stderr() )); |
368 #else |
377 #else |
369 RETURN ( __MKOBJ(stderr) ); |
378 RETURN ( __MKOBJ(stderr) ); |
370 #endif |
379 #endif |
371 %} |
380 %} |
376 |
385 |
377 "return a stdin handle" |
386 "return a stdin handle" |
378 |
387 |
379 %{ |
388 %{ |
380 #ifdef WIN32 |
389 #ifdef WIN32 |
381 extern FILE *__win32_stdin(); |
|
382 RETURN ( __MKOBJ( __win32_stdin() )); |
390 RETURN ( __MKOBJ( __win32_stdin() )); |
383 #else |
391 #else |
384 RETURN ( __MKOBJ(stdin) ); |
392 RETURN ( __MKOBJ(stdin) ); |
385 #endif |
393 #endif |
386 %} |
394 %} |
391 |
399 |
392 "return a stdout handle" |
400 "return a stdout handle" |
393 |
401 |
394 %{ |
402 %{ |
395 #ifdef WIN32 |
403 #ifdef WIN32 |
396 extern FILE *__win32_stdout(); |
|
397 RETURN ( __MKOBJ( __win32_stdout() )); |
404 RETURN ( __MKOBJ( __win32_stdout() )); |
398 #else |
405 #else |
399 RETURN ( __MKOBJ(stdout) ); |
406 RETURN ( __MKOBJ(stdout) ); |
400 #endif |
407 #endif |
401 %} |
408 %} |
538 ! ! |
545 ! ! |
539 |
546 |
540 !NonPositionableExternalStream class methodsFor:'documentation'! |
547 !NonPositionableExternalStream class methodsFor:'documentation'! |
541 |
548 |
542 version |
549 version |
543 ^ '$Header: /cvs/stx/stx/libbasic/NonPositionableExternalStream.st,v 1.53 2007-01-23 17:21:57 stefan Exp $' |
550 ^ '$Header: /cvs/stx/stx/libbasic/NonPositionableExternalStream.st,v 1.54 2007-02-22 15:27:35 cg Exp $' |
544 ! ! |
551 ! ! |