win-pvdrivers

view liblfds.6/src/stack/stack_query.c @ 1025:aa2e51f67f7c

Fix hibernate under Win8. Change debugprints.
author James Harper <james.harper@bendigoit.com.au>
date Tue Feb 19 15:14:53 2013 +1100 (2013-02-19)
parents 6300617040e0
children
line source
1 #include "stack_internal.h"
7 /****************************************************************************/
8 #pragma warning( disable : 4100 )
10 void stack_query( struct stack_state *ss, enum stack_query_type query_type, void *query_input, void *query_output )
11 {
12 assert( ss != NULL );
13 // TRD : query_type can be any value in its range
14 // TRD : query_iput can be NULL
15 assert( query_output != NULL );
17 switch( query_type )
18 {
19 case STACK_QUERY_ELEMENT_COUNT:
20 assert( query_input == NULL );
22 freelist_query( ss->fs, FREELIST_QUERY_ELEMENT_COUNT, NULL, query_output );
23 break;
24 }
26 return;
27 }
29 #pragma warning( default : 4100 )