Changeset 455 for branches/thune
- Timestamp:
- 08/27/07 21:05:56 (15 months ago)
- Location:
- branches/thune/thread_safe
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/make.c
r453 r455 668 668 Special characters are translated. 669 669 */ 670 U Indexur_makeStringT( UThread* ut, UCell* res, const char* txt, int len )670 UString* ur_makeStringT( UThread* ut, UCell* res, const char* txt, int len ) 671 671 { 672 672 UIndex strN; … … 711 711 ur_initString( res, strN, 0 ); 712 712 ur_setEncoding( res, UR_ENC_UTF16 ); 713 return str N;713 return str; 714 714 } 715 715 *out++ = ch; … … 723 723 724 724 ur_initString( res, strN, 0 ); 725 return str N;725 return str; 726 726 } 727 727 … … 1783 1783 if( spA ) 1784 1784 { 1785 binN =ur_makeString( res, spA, spB - spA );1785 ur_makeString( res, spA, spB - spA ); 1786 1786 } 1787 1787 else -
branches/thune/thread_safe/urlan.c
r453 r455 444 444 #endif 445 445 446 447 int ur_sizeofUrlanEnv() 448 { 449 return sizeof(UrlanEnv); 450 } 451 452 453 UThread* ur_thread( UrlanEnv* env ) 454 { 455 return env->threads; 456 } 457 458 446 459 /** 447 460 Initialize UrlanEnv. -
branches/thune/thread_safe/urlan.h
r453 r455 509 509 extern int ur_encodingCharSize[UR_ENC_COUNT]; 510 510 511 int ur_sizeofUrlanEnv(); 511 512 int ur_startup( UrlanEnv*, UDatatype* custom, int customCount ); 512 513 void ur_shutdown( UrlanEnv* ); … … 514 515 void ur_disable( UrlanEnv*, int envFlags ); 515 516 void ur_freezeEnv( UThread*, int binCount, int blkCount ); 517 UThread* ur_thread( UrlanEnv* ); 516 518 UThread* ur_threadMake( UrlanEnv*, int binCount, int blkCount ); 517 519 void ur_threadFree( UThread* ); … … 551 553 UIndex ur_makeBinaryT( UThread*, int size, UBinary** ptr ); 552 554 UIndex ur_makeBinaryFrom( UThread*, const UCell* ); 553 U Indexur_makeStringT( UThread*, UCell*, const char* txt, int len );555 UString* ur_makeStringT( UThread*, UCell*, const char* txt, int len ); 554 556 UIndex ur_makeVectorT( UThread*, int size, UArray** ptr ); 555 557 UIndex ur_makeResourceT( UThread*, int dataType, int size, UResource** );
