This commit is contained in:
Mathias Stearn 2009-11-11 12:19:51 -05:00
Родитель c7b7691fee
Коммит 783bc0ec1f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -69,7 +69,7 @@ bson_type bson_iterator_type( bson_iterator * i );
const char * bson_iterator_key( bson_iterator * i ); const char * bson_iterator_key( bson_iterator * i );
const char * bson_iterator_value( bson_iterator * i ); const char * bson_iterator_value( bson_iterator * i );
/* these convert to the right type */ /* these convert to the right type (return 0 if non-numeric) */
double bson_iterator_double( bson_iterator * i ); double bson_iterator_double( bson_iterator * i );
int bson_iterator_int( bson_iterator * i ); int bson_iterator_int( bson_iterator * i );
int64_t bson_iterator_long( bson_iterator * i ); int64_t bson_iterator_long( bson_iterator * i );
@ -78,7 +78,7 @@ int64_t bson_iterator_long( bson_iterator * i );
/* true: anything else (even empty strings and objects) */ /* true: anything else (even empty strings and objects) */
bson_bool_t bson_iterator_bool( bson_iterator * i ); bson_bool_t bson_iterator_bool( bson_iterator * i );
/* these assume you are using the right type (return 0 if non-numeric) */ /* these assume you are using the right type */
double bson_iterator_double_raw( bson_iterator * i ); double bson_iterator_double_raw( bson_iterator * i );
int bson_iterator_int_raw( bson_iterator * i ); int bson_iterator_int_raw( bson_iterator * i );
int64_t bson_iterator_long_raw( bson_iterator * i ); int64_t bson_iterator_long_raw( bson_iterator * i );