IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2004, 6:12:37 PM (22 years ago)
Author:
eugene
Message:

substantial API changes based on change to PSLib SDRS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMemory.h

    r396 r753  
    2626
    2727/// prototype of a basic callback used by memory functions
    28 typedef long (*psMemAllocateCB)(const psMemBlock *ptr);
     28typedef long (*psMemAllocateCallback)(const psMemBlock *ptr);
    2929
    3030/// prototype of memory free callback used by memory functions
    31 typedef long (*psMemFreeCB)(const psMemBlock *ptr);
     31typedef long (*psMemFreeCallback)(const psMemBlock *ptr);
    3232
    3333/// prototype of a callback used in error conditions
    34 typedef void (*psMemProblemCB)(const psMemBlock *ptr, const char *file, int lineno);
     34typedef void (*psMemProblemCallback)(const psMemBlock *ptr, const char *file, int lineno);
    3535
    3636/// prototype of a callback used when memory runs out
    37 typedef void *(*psMemExhaustedCB)(size_t size);
     37typedef void *(*psMemExhaustedCallback)(size_t size);
    3838
    3939/** Functions **************************************************************/
     
    8484
    8585/// Set callback for problems
    86 psMemProblemCB psMemProblemCBSet(psMemProblemCB func) ///< Function to run
     86psMemProblemCallback psMemProblemCallbackSet(psMemProblemCallback func) ///< Function to run
    8787;
    8888
    8989/// Set callback for out-of-memory
    90 psMemExhaustedCB psMemExhaustedCBSet(psMemExhaustedCB func) ///< Function to run
     90psMemExhaustedCallback psMemExhaustedCallbackSet(psMemExhaustedCallback func) ///< Function to run
    9191;
    9292
    9393/// Set call back for when a particular memory block is allocated
    94 psMemAllocateCB psMemAllocateCBSet(psMemAllocateCB func) ///< Function to run
     94psMemAllocateCallback psMemAllocateCallbackSet(psMemAllocateCallback func) ///< Function to run
    9595;
    9696
    9797/// Set call back for when a particular memory block is freed
    98 psMemFreeCB psMemFreeCBSet(psMemFreeCB func) ///< Function to run
     98psMemFreeCallback psMemFreeCallbackSet(psMemFreeCallback func) ///< Function to run
    9999;
    100100
Note: See TracChangeset for help on using the changeset viewer.