Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include
File: idn-free.h
/* idn-free.h --- Invoke the free function to release memory
[0] Fix | Delete
Copyright (C) 2004-2016 Simon Josefsson
[1] Fix | Delete
[2] Fix | Delete
This file is part of GNU Libidn.
[3] Fix | Delete
[4] Fix | Delete
GNU Libidn is free software: you can redistribute it and/or
[5] Fix | Delete
modify it under the terms of either:
[6] Fix | Delete
[7] Fix | Delete
* the GNU Lesser General Public License as published by the Free
[8] Fix | Delete
Software Foundation; either version 3 of the License, or (at
[9] Fix | Delete
your option) any later version.
[10] Fix | Delete
[11] Fix | Delete
or
[12] Fix | Delete
[13] Fix | Delete
* the GNU General Public License as published by the Free
[14] Fix | Delete
Software Foundation; either version 2 of the License, or (at
[15] Fix | Delete
your option) any later version.
[16] Fix | Delete
[17] Fix | Delete
or both in parallel, as here.
[18] Fix | Delete
[19] Fix | Delete
GNU Libidn is distributed in the hope that it will be useful,
[20] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[21] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[22] Fix | Delete
General Public License for more details.
[23] Fix | Delete
[24] Fix | Delete
You should have received copies of the GNU General Public License and
[25] Fix | Delete
the GNU Lesser General Public License along with this program. If
[26] Fix | Delete
not, see <http://www.gnu.org/licenses/>. */
[27] Fix | Delete
[28] Fix | Delete
#ifndef IDN_FREE_H
[29] Fix | Delete
# define IDN_FREE_H
[30] Fix | Delete
[31] Fix | Delete
# ifndef IDNAPI
[32] Fix | Delete
# if defined LIBIDN_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY
[33] Fix | Delete
# define IDNAPI __attribute__((__visibility__("default")))
[34] Fix | Delete
# elif defined LIBIDN_BUILDING && defined _MSC_VER && ! defined LIBIDN_STATIC
[35] Fix | Delete
# define IDNAPI __declspec(dllexport)
[36] Fix | Delete
# elif defined _MSC_VER && ! defined LIBIDN_STATIC
[37] Fix | Delete
# define IDNAPI __declspec(dllimport)
[38] Fix | Delete
# else
[39] Fix | Delete
# define IDNAPI
[40] Fix | Delete
# endif
[41] Fix | Delete
# endif
[42] Fix | Delete
[43] Fix | Delete
# ifdef __cplusplus
[44] Fix | Delete
extern "C"
[45] Fix | Delete
{
[46] Fix | Delete
# endif
[47] Fix | Delete
[48] Fix | Delete
/* I don't recommend using this interface in general. Use `free'.
[49] Fix | Delete
*
[50] Fix | Delete
* I'm told Microsoft Windows may use one set of `malloc' and `free'
[51] Fix | Delete
* in a library, and another incompatible set in a statically compiled
[52] Fix | Delete
* application that link to the library, thus creating problems if the
[53] Fix | Delete
* application would invoke `free' on a pointer pointing to memory
[54] Fix | Delete
* allocated by the library. This motivated adding this function.
[55] Fix | Delete
*
[56] Fix | Delete
* The theory of isolating all memory allocations and de-allocations
[57] Fix | Delete
* within a code package (library) sounds good, to simplify hunting
[58] Fix | Delete
* down memory allocation related problems, but I'm not sure if it is
[59] Fix | Delete
* worth enough to motivate recommending this interface over calling
[60] Fix | Delete
* `free' directly, though.
[61] Fix | Delete
*
[62] Fix | Delete
* See the manual section 'Memory handling under Windows' for more
[63] Fix | Delete
* information.
[64] Fix | Delete
*/
[65] Fix | Delete
[66] Fix | Delete
extern void IDNAPI idn_free (void *ptr);
[67] Fix | Delete
[68] Fix | Delete
# ifdef __cplusplus
[69] Fix | Delete
}
[70] Fix | Delete
# endif
[71] Fix | Delete
[72] Fix | Delete
#endif /* IDN_FREE_H */
[73] Fix | Delete
[74] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function