gta.h | gta.h | |||
---|---|---|---|---|
skipping to change at line 62 | skipping to change at line 62 | |||
* The array data can be read and written in one of three ways: | * The array data can be read and written in one of three ways: | |||
* - completely in memory (for arrays that are not too big), | * - completely in memory (for arrays that are not too big), | |||
* - stream-based (for streamable tasks), | * - stream-based (for streamable tasks), | |||
* - or block-based (for random access to the array data). | * - or block-based (for random access to the array data). | |||
* | * | |||
* The library provides interfaces for C and C++. See the <a href="files.ht ml">Files</a> section. | * The library provides interfaces for C and C++. See the <a href="files.ht ml">Files</a> section. | |||
* | * | |||
* \section examples Examples | * \section examples Examples | |||
* | * | |||
* Examples written in C: | * Examples written in C: | |||
* - <a href="example-basic.c.html">Introductory example</a> | * - <a href="example-basic_8c.html">Introductory example</a> | |||
* - <a href="example-tags.c.html">Using tags</a> | * - <a href="example-tags_8c.html">Using tags</a> | |||
* - <a href="example-stream-io.c.html">Stream-based input/output</a> | * - <a href="example-stream-io_8c.html">Stream-based input/output</a> | |||
* - <a href="example-block-io.c.html">Block-based input/output</a> | * - <a href="example-block-io_8c.html">Block-based input/output</a> | |||
* | * | |||
* Examples written in C++: | * Examples written in C++: | |||
* - <a href="example-basic.cpp.html">Introductory example</a> | * - <a href="example-basic_8cpp.html">Introductory example</a> | |||
* - <a href="example-tags.cpp.html">Using tags</a> | * - <a href="example-tags_8cpp.html">Using tags</a> | |||
* - <a href="example-stream-io.cpp.html">Stream-based input/output</a> | * - <a href="example-stream-io_8cpp.html">Stream-based input/output</a> | |||
* - <a href="example-block-io.cpp.html">Block-based input/output</a> | * - <a href="example-block-io_8cpp.html">Block-based input/output</a> | |||
* | * | |||
* \page example-basic.c Examples written in C: Introductory example | * \page example-basic.c Examples written in C: Introductory example | |||
* \include example-basic.c | * \include example-basic.c | |||
* \page example-tags.c Examples written in C: Using tags | * \page example-tags.c Examples written in C: Using tags | |||
* \include example-tags.c | * \include example-tags.c | |||
* \page example-stream-io.c Examples written in C: Stream-based input/outp ut | * \page example-stream-io.c Examples written in C: Stream-based input/outp ut | |||
* \include example-stream-io.c | * \include example-stream-io.c | |||
* \page example-block-io.c Examples written in C: Block-based input/output | * \page example-block-io.c Examples written in C: Block-based input/output | |||
* \include example-block-io.c | * \include example-block-io.c | |||
* | * | |||
End of changes. 2 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
gta.hpp | gta.hpp | |||
---|---|---|---|---|
skipping to change at line 762 | skipping to change at line 762 | |||
throw exception("Cannot initialize GTA header", static_cast <gta::result>(r)); | throw exception("Cannot initialize GTA header", static_cast <gta::result>(r)); | |||
} | } | |||
reset_taglists(); | reset_taglists(); | |||
} | } | |||
/** | /** | |||
* \brief Copy constructor. | * \brief Copy constructor. | |||
* \param hdr The header to copy. | * \param hdr The header to copy. | |||
*/ | */ | |||
header(const header &hdr) | header(const header &hdr) | |||
: _header(NULL) | ||||
{ | { | |||
gta_result_t r; | gta_result_t r; | |||
r = gta_create_header(&_header); | r = gta_create_header(&_header); | |||
if (r != GTA_OK) | if (r != GTA_OK) | |||
{ | { | |||
throw exception("Cannot initialize GTA header", static_cast <gta::result>(r)); | throw exception("Cannot initialize GTA header", static_cast <gta::result>(r)); | |||
} | } | |||
r = gta_clone_header(_header, hdr._header); | r = gta_clone_header(_header, hdr._header); | |||
if (r != GTA_OK) | if (r != GTA_OK) | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added | |||
gta_version.h | gta_version.h | |||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more | * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more | |||
* details. | * details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public License | * You should have received a copy of the GNU Lesser General Public License | |||
* along with Libgta. If not, see <http://www.gnu.org/licenses/>. | * along with Libgta. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | */ | |||
#ifndef GTA_VERSION_H | #ifndef GTA_VERSION_H | |||
#define GTA_VERSION_H | #define GTA_VERSION_H | |||
#define GTA_VERSION "1.0.0" | #define GTA_VERSION "1.0.1" | |||
#define GTA_VERSION_MAJOR 1 | #define GTA_VERSION_MAJOR 1 | |||
#define GTA_VERSION_MINOR 0 | #define GTA_VERSION_MINOR 0 | |||
#define GTA_VERSION_PATCH 0 | #define GTA_VERSION_PATCH 1 | |||
#define GTA_VERSION_NUMBER 0x010000 | #define GTA_VERSION_NUMBER 0x010001 | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||