![]() |
PK_MEMORY_ask_callbacks |
PK_ERROR_code_t PK_MEMORY_ask_callbacks ( --- returned arguments --- PK_MEMORY_frustrum_t *const frustrum --- current memory handlers ) This function returns the functions which are currently registered for Parasolid to use when allocating and freeing variable length information returned from the PK interface. If no such functions have been registered, then both fields of the PK_MEMORY_frustrum_t will be set to NULL. This function may be called at any time. The functions returned are the functions for session-wide use, registered with PK_MEMORY_register_callbacks. This function will not report on thread-specific alloc and free functions registered with PK_THREAD_register_memory_cbs; use PK_THREAD_ask_memory_cbs for them.