"Fossies" - the Fresh Open Source Software Archive

Member "dx-4.4.4/help/dxall1024" (5 Feb 2002, 1746 Bytes) of package /linux/misc/old/dx-4.4.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!F-adobe-helvetica-medium-r-normal--18*
    2 #!N 
    3 #!CSeaGreen 
    4 #!N  #!Rmemalc Allocating and Freeing Memory #!N #!EC #!N #!N Memory 
    5 allocation results from either of the following: #!N #!I0 #!N  #!F-adobe-times-medium-r-normal--18*   
    6 #!N #!N #!I30 #!N o Calls to  #!F-adobe-times-bold-r-normal--18*   DXAllocate #!EF and 
    7  #!F-adobe-times-bold-r-normal--18*   DXAllocateLocal #!EF . #!N #!N In general, allocations resulting from 
    8 these calls must be freed before returning. #!N #!I30 #!N o 
    9 The creation of a new Object (e.g, by  #!F-adobe-times-bold-r-normal--18*   DXNewField #!EF 
   10 or  #!F-adobe-times-bold-r-normal--18*   DXNewArray #!EF ). #!N #!N On successful return, memory 
   11 allocated for the use of these routines does  #!F-adobe-times-medium-i-normal--18*   not #!EF 
   12 usually need to be freed: the Objects returned are managed by 
   13 the executive, and the module is not responsible for their deletion. 
   14 However, in case of error, no output Objects are returned, and 
   15 the module is responsible for deleting all Objects created. #!N #!N 
   16 When a Field is placed in a Group, the Field is 
   17 deleted when the Group is deleted; and, on error, only the 
   18 Group should be deleted. Similarly, an Array placed in a Field 
   19 is deleted when the Field is deleted. For that reason it 
   20 is often helpful to set the pointer of a Field or 
   21 Array to  #!F-adobe-times-bold-r-normal--18*   NULL #!EF after placing it in a higher-level 
   22 Object. The Field or Array can then be safely deleted on 
   23 error, regardless of whether it has been placed in a higher-level 
   24 Object. #!N #!I0 #!N #!EF #!N #!N #!N #!N  #!F-adobe-times-medium-i-normal--18*   Next 
   25 Topic #!EF #!N #!N  #!Lall1024,dxall1025 h Reference Counts  #!EL  #!N  #!F-adobe-times-medium-i-normal--18*   #!N