- Timestamp:
- Mar 11, 2007, 2:12:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/basic/function.sbp
r142 r145 694 694 Dim temp[255] As Char 695 695 _sntprintf(temp, Len (temp) \ SizeOf (Char), "%I64d", value) 696 Str$ = temp696 Str$ = New String( temp ) 697 697 End Function 698 698 … … 755 755 756 756 If buf[0]=Asc("&") Then 757 temporary = buf757 temporary = New String( buf ) 758 758 temporary.ToUpper() 759 759 TempPtr = StrPtr(temporary) … … 898 898 899 899 Function malloc(stSize As SIZE_T) As VoidPtr 900 Return _System_ GC.__malloc(stSize,_System_GC_FLAG_NEEDFREE)900 Return _System_pGC->__malloc(stSize,_System_GC_FLAG_NEEDFREE or _System_GC_FLAG_ATOMIC) 901 901 End Function 902 902 903 903 Function calloc(stSize As SIZE_T) As VoidPtr 904 Return _System_ GC.__malloc(stSize,_System_GC_FLAG_NEEDFREEor _System_GC_FLAG_INITZERO)904 Return _System_pGC->__malloc(stSize,_System_GC_FLAG_NEEDFREE or _System_GC_FLAG_ATOMIC or _System_GC_FLAG_INITZERO) 905 905 End Function 906 906 … … 909 909 Return malloc(stSize) 910 910 Else 911 Return _System_ GC.__realloc(lpMem,stSize)911 Return _System_pGC->__realloc(lpMem,stSize) 912 912 End If 913 913 End Function 914 914 915 915 Sub free(lpMem As VoidPtr) 916 _System_ GC.__free(lpMem)916 _System_pGC->__free(lpMem) 917 917 End Sub 918 918
Note:
See TracChangeset
for help on using the changeset viewer.