Sha256: 876fc4b7cf7749c7b4cd67dc32ce8144e5ff2b40e875e34c1e515dbd1be9913f

Contents?: true

Size: 1.96 KB

Versions: 51

Compression:

Stored size: 1.96 KB

Contents

/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/*
 *  Copyright (C) 2011  Ruby-GNOME2 Project Team
 *  Copyright (C) 2005-2006 Ruby-GNOME2 Project Team
 *  Copyright (C) 2004  Kouhei Sutou <kou@cozmixng.org>
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  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.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *  MA  02110-1301  USA
 */

#ifndef RSVG2_H
#define RSVG2_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <ruby.h>

#include <rbglib.h>
#include <rbgobject.h>

#ifdef HAVE_LIBRSVG_RSVG_GZ_H
#  include <librsvg/rsvg-gz.h>
#else
#  include <librsvg/rsvg.h>
#endif

#ifdef HAVE_RB_CAIRO_H
#  include <rb_cairo.h>
#  include <librsvg/rsvg-cairo.h>
#endif

#ifdef HAVE_LIBRSVG_LIBRSVG_ENUM_TYPES_H
#  include <librsvg/librsvg-enum-types.h>
#else
#  include "librsvg-enum-types.h"
#endif

#include <librsvg/librsvg-features.h>

#define LIBRSVG_CHECK_VERSION(major, minor, micro)                            \
    (LIBRSVG_MAJOR_VERSION > (major) ||                                       \
     (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \
     (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && \
      LIBRSVG_MICRO_VERSION >= (micro)))


G_GNUC_INTERNAL void Init_rsvg_handle(VALUE mRSVG);
G_GNUC_INTERNAL void Init_rsvg_dimensiondata(VALUE mRSVG);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rsvg2-2.2.3-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.2.3 ext/rsvg2/rsvg2.h
rsvg2-2.2.2-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.2.2 ext/rsvg2/rsvg2.h
rsvg2-2.2.1-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.2.1 ext/rsvg2/rsvg2.h
rsvg2-2.2.0-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.2.0 ext/rsvg2/rsvg2.h
rsvg2-2.1.0-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.1.0 ext/rsvg2/rsvg2.h
rsvg2-2.0.3-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.0.3 ext/rsvg2/rsvg2.h
rsvg2-2.0.2-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.0.2 ext/rsvg2/rsvg2.h
rsvg2-2.0.1-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.0.1 ext/rsvg2/rsvg2.h
rsvg2-2.0.0-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-2.0.0 ext/rsvg2/rsvg2.h
rsvg2-1.2.6-x86-mingw32 ext/rsvg2/rsvg2.h
rsvg2-1.2.6 ext/rsvg2/rsvg2.h