comparison stitch/pullable.h @ 0:5242703e91d3 tip

Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author tomwalters
date Fri, 20 May 2011 15:19:45 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:5242703e91d3
1 /*
2 pullable.h
3 ==========
4
5 pullable derived sources
6
7 */
8
9 #define SetPullableSource( _source , _puller, _name ) \
10 setPullableSource( &( _source )->parent, _puller, _name )
11 #define DeletePullableSource( _source ) \
12 deletePullableSource( &( _source )->parent )
13
14 /* derived Pullable sources */
15
16 #define NewSlaveSource( _master ) \
17 newSlaveSource( _master )
18
19 #define NewStaticSource( _pointer ) \
20 newStaticSource( (Pointer) ( _pointer ) )
21
22 #define NewRetainingSource( _source, _retained ) \
23 newRetainingSource( _source, (ByteCount) ( _retained ) )
24
25 #define NewDelayingSource( _source, _delay ) \
26 newDelayingSource( _source, (ByteCount) ( _delay ) )
27
28 #define NewBlockingSource( _source, _block ) \
29 newBlockingSource( _source, (ByteCount) ( _block ) )
30
31
32 /* fundamental active source types */
33
34 extern Source setPullableSource() ;
35 extern Pointer deletePullableSource() ;
36
37 /* simple assertive derived sources */
38
39 extern Source newSlaveSource() ;
40 extern Source newStaticSource() ;
41 extern Source newRetainingSource() ;
42 extern Source newDelayingSource() ;
43 extern Source newBlockingSource() ;
44