You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/03/06 10:41:34 UTC
svn commit: r515044 - in /webservices/axis2/trunk/c/util:
include/axis2_array_list.h src/array_list.c
Author: dinesh
Date: Tue Mar 6 01:41:33 2007
New Revision: 515044
URL: http://svn.apache.org/viewvc?view=rev&rev=515044
Log:
removed some unused method
Modified:
webservices/axis2/trunk/c/util/include/axis2_array_list.h
webservices/axis2/trunk/c/util/src/array_list.c
Modified: webservices/axis2/trunk/c/util/include/axis2_array_list.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_array_list.h?view=diff&rev=515044&r1=515043&r2=515044
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_array_list.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_array_list.h Tue Mar 6 01:41:33 2007
@@ -131,33 +131,6 @@
void *e);
/**
- * Returns the highest index at which element appears in this List, or
- * -1 if it does not appear. This looks for the pointer value equality only,
- * does not look into pointer content
- * @param array_list pointer to array list
- * @param env pointer to environment struct
- * @param e the element whose inclusion in the List is being tested
- * @return the index where e was found
- */
- AXIS2_EXTERN int AXIS2_CALL
- axis2_array_list_last_index_of(
- struct axis2_array_list *array_list,
- const axis2_env_t *env,
- void *e);
-
- /**
- * Returns a void* array containing all of the elements in this array_list.
- * The array is not independent of this list.
- * @param array_list pointer to array list
- * @param env pointer to environment struct
- * @return array of elements in this list
- */
- AXIS2_EXTERN void** AXIS2_CALL
- axis2_array_list_to_array(
- struct axis2_array_list *array_list,
- const axis2_env_t *env);
-
- /**
* Retrieves the element at the user-supplied index.
* @param array_list pointer to array list
* @param env pointer to environment struct
Modified: webservices/axis2/trunk/c/util/src/array_list.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/array_list.c?view=diff&rev=515044&r1=515043&r2=515044
==============================================================================
--- webservices/axis2/trunk/c/util/src/array_list.c (original)
+++ webservices/axis2/trunk/c/util/src/array_list.c Tue Mar 6 01:41:33 2007
@@ -133,28 +133,6 @@
return -1;
}
-AXIS2_EXTERN int AXIS2_CALL
-axis2_array_list_last_index_of(struct axis2_array_list *array_list,
- const axis2_env_t *env,
- void *e)
-{
- int i = 0;
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-
- for (i = array_list->size - 1; i >= 0; i--)
- if (e == array_list->data[i])
- return i;
- return -1;
-}
-
-AXIS2_EXTERN void** AXIS2_CALL
-axis2_array_list_to_array(struct axis2_array_list *array_list,
- const axis2_env_t *env)
-{
- AXIS2_ENV_CHECK(env, NULL);
- return array_list->data;
-}
-
AXIS2_EXTERN void* AXIS2_CALL
axis2_array_list_get(struct axis2_array_list *array_list,
const axis2_env_t *env,
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org