Sha256: f442dc67aee4513121b0e34aa5aafe4f34fe82a14550b56571d44196accc2d50

Contents?: true

Size: 1.25 KB

Versions: 16

Compression:

Stored size: 1.25 KB

Contents

/*
 * Trema C++ wrapper.
 *
 * Author: Vladimir Olteanu <vladimir.olteanu@cs.pub.ro>
 *
 * Copyright (C) 2012 Vladimir Olteanu
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, version 2, as
 * published by the Free Software Foundation.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */


#ifndef TREMA_HPP
#define TREMA_HPP


template <typename type1, typename type2> struct _types_compatible_p {
  static const bool result = false;
};

template <typename type1> struct _types_compatible_p<type1, type1> {
  static const bool result = true;
};

#define __builtin_types_compatible_p( type1, type2 ) _types_compatible_p< type1, type2 >::result


extern "C" {
#include "trema.h"
}


#endif // TREMA_HPP


/*
 * Local variables:
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * End:
 */

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trema-0.3.9 src/lib/trema.hpp
trema-0.3.8 src/lib/trema.hpp
trema-0.3.7 src/lib/trema.hpp
trema-0.3.6 src/lib/trema.hpp
trema-0.3.5 src/lib/trema.hpp
trema-0.3.4 src/lib/trema.hpp
trema-0.3.3 src/lib/trema.hpp
trema-0.3.2 src/lib/trema.hpp
trema-0.3.1 src/lib/trema.hpp
trema-0.3.0 src/lib/trema.hpp
trema-0.2.8 src/lib/trema.hpp
trema-0.2.7 src/lib/trema.hpp
trema-0.2.6 src/lib/trema.hpp
trema-0.2.5 src/lib/trema.hpp
trema-0.2.4 src/lib/trema.hpp
trema-0.2.3 src/lib/trema.hpp