* Make headers C++ compatible by change *this to *obj
* Add ifdef C++ extern "C" to headers
* Use simpler definition of min and max in bits.h
Larry Lansing, llansing at fuzzynerd dot com
* Remove automake 1.6 requirement
* Move autogen commands into autogen.sh. Update README
* Remove error pointer special case for Windows
* Change license from LGPL to MIT
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@10 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
25
arraylist.h
25
arraylist.h
@@ -1,18 +1,11 @@
|
||||
/*
|
||||
* $Id: arraylist.h,v 1.2 2004/07/21 01:24:33 mclark Exp $
|
||||
* $Id: arraylist.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
|
||||
*
|
||||
* Copyright Metaparadigm Pte. Ltd. 2004.
|
||||
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
|
||||
* Michael Clark <michael@metaparadigm.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public (LGPL)
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details: http://www.gnu.org/
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the MIT license. See COPYING for details.
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -35,18 +28,18 @@ extern struct array_list*
|
||||
array_list_new(array_list_free_fn *free_fn);
|
||||
|
||||
extern void
|
||||
array_list_free(struct array_list *this);
|
||||
array_list_free(struct array_list *al);
|
||||
|
||||
extern void*
|
||||
array_list_get_idx(struct array_list *this, int i);
|
||||
array_list_get_idx(struct array_list *al, int i);
|
||||
|
||||
extern int
|
||||
array_list_put_idx(struct array_list *this, int i, void *data);
|
||||
array_list_put_idx(struct array_list *al, int i, void *data);
|
||||
|
||||
extern int
|
||||
array_list_add(struct array_list *this, void *data);
|
||||
array_list_add(struct array_list *al, void *data);
|
||||
|
||||
extern int
|
||||
array_list_length(struct array_list *this);
|
||||
array_list_length(struct array_list *al);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user