Panda3D
Functions | Variables
dtoolbase.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "dtoolbase.h"
#include "memoryHook.h"

Go to the source code of this file.

Functions

void init_memory_hook ()
 Any code that might need to use PANDA_MALLOC or PANDA_FREE, or any methods of the global memory_hook object, at static init time, should ensure that it calls init_memory_hook() first to ensure that the pointer has been properly initialized. More...
 

Variables

MemoryHookmemory_hook
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2000-09-12

Definition in file dtoolbase.cxx.

Function Documentation

◆ init_memory_hook()

void init_memory_hook ( )

Any code that might need to use PANDA_MALLOC or PANDA_FREE, or any methods of the global memory_hook object, at static init time, should ensure that it calls init_memory_hook() first to ensure that the pointer has been properly initialized.

There is no harm in calling this function more than once.

There is no need to call this function other than at static init time.

Definition at line 38 of file dtoolbase.cxx.

Referenced by Notify::ptr().