KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
out_of_memory.cc File Reference
#include <vector>
#include <iostream>
#include <cstdint>
#include <malloc.h>
#include <kos/init.h>

Functions

 KOS_INIT_FLAGS (INIT_MALLOCSTATS)
 
static void new_handler_cb ()
 
int main (int argc, char **argv)
 

Variables

static unsigned new_handler_counter = 0
 

Function Documentation

◆ KOS_INIT_FLAGS()

KOS_INIT_FLAGS ( INIT_MALLOCSTATS )

◆ main()

int main ( int argc,
char ** argv )

◆ new_handler_cb()

static void new_handler_cb ( )
static

References malloc_stats(), new_handler_counter, and NULL.

Referenced by main().

Variable Documentation

◆ new_handler_counter

unsigned new_handler_counter = 0
static

Referenced by main(), and new_handler_cb().