Changeset 426 for branches/thune/thread_safe/make.c
- Timestamp:
- 07/05/07 04:03:51 (17 months ago)
- Files:
-
- 1 modified
-
branches/thune/thread_safe/make.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/make.c
r417 r426 111 111 Size is the number of cells to reserve. Used is set to 0. 112 112 */ 113 UIndex ur_makeBlockT( UThread* ut, int size )113 UIndex ur_makeBlockT( UThread* ut, int size, UBlock** blkPtr ) 114 114 { 115 115 UBlock* ptr; … … 144 144 145 145 ur_arrayInit( ptr, sizeof(UCell), size ); 146 if( blkPtr ) 147 *blkPtr = ptr; 146 148 return ur_blockN( ptr ); 147 149 } … … 1342 1344 1343 1345 /*--------------------------------------------------------------------------*/ 1346 1347 1348 #ifdef UR_CONFG_DATAFLOW 1349 extern void ur_cloneComponent( UThread*, UCell* result, UCell* proto ); 1350 #endif 1344 1351 1345 1352 … … 1869 1876 #endif 1870 1877 1878 #ifdef UR_CONFG_DATAFLOW 1879 case UT_COMPONENT: 1880 if( ! ur_is(tos, UT_COMPONENT) ) 1881 goto error; 1882 ur_cloneComponent( ut, res, tos ); 1883 break; 1884 #endif 1871 1885 default: 1872 1886 if( ur_datatype(res) < UT_BI_COUNT )
