svn_types.h (362181) | svn_types.h (369302) |
---|---|
1/** 2 * @copyright 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 235 unchanged lines hidden (view full) --- 244#ifndef APR_ARRAY_PUSH 245#define APR_ARRAY_PUSH(ary,type) (*((type *)apr_array_push(ary))) 246#endif 247 248/** @} */ 249 250 251 | 1/** 2 * @copyright 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 235 unchanged lines hidden (view full) --- 244#ifndef APR_ARRAY_PUSH 245#define APR_ARRAY_PUSH(ary,type) (*((type *)apr_array_push(ary))) 246#endif 247 248/** @} */ 249 250 251 |
252/** @defgroup apr_hash_utilities APR Hash Table Helpers 253 * These functions enable the caller to dereference an APR hash table index 254 * without type casts or temporary variables. 255 * 256 * These functions are provided by APR itself from version 1.5. 257 * Definitions are provided here for when using older versions of APR. 258 * @{ 259 */ 260 261#if !APR_VERSION_AT_LEAST(1, 5, 0) 262 263/** Return the key of the hash table entry indexed by @a hi. */ 264const void * 265apr_hash_this_key(apr_hash_index_t *hi); 266 267/** Return the key length of the hash table entry indexed by @a hi. */ 268apr_ssize_t 269apr_hash_this_key_len(apr_hash_index_t *hi); 270 271/** Return the value of the hash table entry indexed by @a hi. */ 272void * 273apr_hash_this_val(apr_hash_index_t *hi); 274 275#endif 276 277/** @} */ 278 279 280 |
|
252/** On Windows, APR_STATUS_IS_ENOTDIR includes several kinds of 253 * invalid-pathname error but not ERROR_INVALID_NAME, so we include it. 254 * We also include ERROR_DIRECTORY as that was not included in apr versions 255 * before 1.4.0 and this fix is not backported */ 256/* ### These fixes should go into APR. */ 257#ifndef WIN32 258#define SVN__APR_STATUS_IS_ENOTDIR(s) APR_STATUS_IS_ENOTDIR(s) 259#else --- 996 unchanged lines hidden --- | 281/** On Windows, APR_STATUS_IS_ENOTDIR includes several kinds of 282 * invalid-pathname error but not ERROR_INVALID_NAME, so we include it. 283 * We also include ERROR_DIRECTORY as that was not included in apr versions 284 * before 1.4.0 and this fix is not backported */ 285/* ### These fixes should go into APR. */ 286#ifndef WIN32 287#define SVN__APR_STATUS_IS_ENOTDIR(s) APR_STATUS_IS_ENOTDIR(s) 288#else --- 996 unchanged lines hidden --- |