item_comparator Struct Reference

#include <externs.h>

List of all members.

Public Member Functions

 item_comparator (item_sort_fn cfn, bool neg=false)
int compare (const InvEntry *a, const InvEntry *b) const

Public Attributes

item_sort_fn cmpfn
bool negated


Constructor & Destructor Documentation

item_comparator::item_comparator ( item_sort_fn  cfn,
bool  neg = false 
) [inline]


Member Function Documentation

int item_comparator::compare ( const InvEntry a,
const InvEntry b 
) const [inline]


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Thu Jan 13 13:34:26 2011 by  doxygen 1.5.6