"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cxx/caca++.h" between
libcaca-0.99.beta19.tar.gz and libcaca-0.99.beta20.tar.bz2

About: libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals (something like an advanced AAlib library).

caca++.h  (libcaca-0.99.beta19):caca++.h  (libcaca-0.99.beta20.tar.bz2)
/* /*
* libcaca++ C++ bindings for libcaca * libcaca++ C++ bindings for libcaca
* Copyright (c) 2006-2007 Jean-Yves Lamoureux <jylam@lnxscene.org> * Copyright © 2006—2007 Jean-Yves Lamoureux <jylam@lnxscene.org>
* 2009-2012 Sam Hocevar <sam@hocevar.net> * 2009—2018 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved * All Rights Reserved
* *
* This library is free software. It comes without any warranty, to * This library is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it * the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What the Fuck You Want * and/or modify it under the terms of the Do What the Fuck You Want
* to Public License, Version 2, as published by Sam Hocevar. See * to Public License, Version 2, as published by Sam Hocevar. See
* http://www.wtfpl.net/ for more details. * http://www.wtfpl.net/ for more details.
*/ */
/** \file caca++.h /** \file caca++.h
* \author Jean-Yves Lamoureux <jylam@lnxscene.org> * \author Jean-Yves Lamoureux <jylam@lnxscene.org>
skipping to change at line 29 skipping to change at line 29
* using \e libcaca++ may use. * using \e libcaca++ may use.
*/ */
#ifndef _CACA_PP_H #ifndef _CACA_PP_H
#define _CACA_PP_H #define _CACA_PP_H
#include <caca.h> #include <caca.h>
#undef __class #undef __class
#if defined(_WIN32) && defined(__LIBCACA_PP__) #if defined(_WIN32) && defined(__LIBCACA_PP__)
# define __class class __declspec(dllexport) # define __class class __declspec(dllexport)
#elif defined CACA_ENABLE_VISIBILITY
# define __class class __attribute__((visibility("default")))
#else #else
# define __class class # define __class class
#endif #endif
class Canvas; class Canvas;
__class Charset __class Charset
{ {
public: public:
uint32_t utf8ToUtf32(char const *, size_t *); uint32_t utf8ToUtf32(char const *, size_t *);
 End of changes. 2 change blocks. 
4 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)