IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2004, 3:09:20 PM (22 years ago)
Author:
rhl
Message:

Follow changes to psMem APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/src/Utils/tst_memory.c

    r446 r566  
    99 * My callbacks
    1010 */
    11 static int my_MemAllocateCB(const psMemBlock *ptr)
     11static long my_MemAllocateCB(const psMemBlock *ptr)
    1212{
    1313    static int incr = 0;                // "p_psMemAllocateID += incr"
     
    5454     * Install my callbacks
    5555     */
    56     (void)psMemAllocateSetCB(my_MemAllocateCB);
    57     default_MemProblemCB = psMemProblemSetCB(my_MemProblemCB);
    58     (void)psMemExhaustedSetCB(my_MemExhaustedCB);
     56    (void)psMemAllocateCBSet(my_MemAllocateCB);
     57    default_MemProblemCB = psMemProblemCBSet(my_MemProblemCB);
     58    (void)psMemExhaustedCBSet(my_MemExhaustedCB);
    5959    /*
    6060     * Request callback on first allocation
    6161     */
    62     (void)psMemSetAllocateID(1);
     62    (void)psMemAllocateIDSet(1);
    6363    /*
    6464     * Start allocating
Note: See TracChangeset for help on using the changeset viewer.