tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_delete_.rst (498B)


      1 PR_DELETE
      2 =========
      3 
      4 
      5 Allocates memory of a specified size from the heap.
      6 
      7 
      8 Syntax
      9 ------
     10 
     11 .. code::
     12 
     13   #include <prmem.h>
     14 
     15   void PR_DELETE(_ptr);
     16 
     17 
     18 Parameter
     19 ~~~~~~~~~
     20 
     21 ``_ptr``
     22   The address of memory to be returned to the heap. Must be an lvalue
     23   (an expression that can appear on the left side of an assignment
     24   statement).
     25 
     26 
     27 Returns
     28 ~~~~~~~
     29 
     30 Nothing.
     31 
     32 
     33 Description
     34 -----------
     35 
     36 This macro returns allocated memory to the heap from the specified
     37 location and sets ``_ptr`` to ``NULL``.