/* Generated file (by generator) */

/*
 * SPDX-FileCopyrightText: 2015 William Yu <williamyu@gnome.org>
 *
 * SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "i-cal-param-iter.h"
#include "libical-glib-private.h"

G_DEFINE_TYPE (ICalParamIter, i_cal_param_iter, I_CAL_TYPE_OBJECT)

static void i_cal_param_iter_class_init (G_GNUC_UNUSED ICalParamIterClass *klass)
{
}

static void i_cal_param_iter_init (G_GNUC_UNUSED ICalParamIter *self)
{
}

/**
 * i_cal_param_iter_new_full: (skip)
 * @native: The native libical object.
 *
 * Create a new libical-glib object from the native libical object and the owner.
 *
 * Returns: (transfer full): The newly create libical-glib object.
 *
 * Since: 1.0
 **/
ICalParamIter *
i_cal_param_iter_new_full (struct icalparamiter native)
{
    ICalParamIter *object;
    struct icalparamiter *clone;
    
    
    clone = g_new (struct icalparamiter, 1);
    *clone = native;
    object = i_cal_object_construct (I_CAL_TYPE_PARAM_ITER,
                            (gpointer) clone,
                            (GDestroyNotify) g_free,
                            FALSE,
                            NULL);

    return object;
}


/**
 * i_cal_param_iter_new_default: (skip)
 *
 * Returns: (transfer none): The newly created default native icalparamiter
 *
 * Since: 1.0
 *
 **/
struct icalparamiter
i_cal_param_iter_new_default (void)
{
        icalparamiter paramiter;
        paramiter.iter = 0;
        paramiter.kind = ICAL_NO_PARAMETER;
        return paramiter;
}
