Crossfire Server, Trunk  R20513
Functions
check_free_objects.c File Reference

Makes sure that inventory objects are freed correctly. More...

#include <check.h>
#include <global.h>
#include <sproto.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for check_free_objects.c:

Go to the source code of this file.

Functions

static END_TEST Suite * bug_suite (void)
 
static objectfind_arch_at (mapstruct *map, int x, int y, const char *arch_name)
 
int main (void)
 
static void setup (void)
 
 START_TEST (test_merge)
 
static void teardown (void)
 

Detailed Description

Makes sure that inventory objects are freed correctly.

Definition in file check_free_objects.c.

Function Documentation

static END_TEST Suite* bug_suite ( void  )
static

Definition at line 103 of file check_free_objects.c.

References setup(), and teardown().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static object* find_arch_at ( mapstruct map,
int  x,
int  y,
const char *  arch_name 
)
static

Definition at line 34 of file check_free_objects.c.

References FOR_MAP_FINISH, and FOR_MAP_PREPARE.

Referenced by START_TEST().

Here is the caller graph for this function:

int main ( void  )

Definition at line 116 of file check_free_objects.c.

References bug_suite(), and init().

Here is the call graph for this function:

static void setup ( void  )
static

Definition at line 43 of file check_free_objects.c.

Referenced by bug_suite().

Here is the caller graph for this function:

START_TEST ( test_merge  )
static void teardown ( void  )
static

Definition at line 46 of file check_free_objects.c.

Referenced by bug_suite().

Here is the caller graph for this function: