Logo Search packages:      
Sourcecode: sanduhr version File versions  Download package

sanduhr-common.c

/*
 * This file was generated by orbit-idl - DO NOT EDIT!
 */

#include <string.h>
#include "sanduhr.h"

#if ( (TC_IMPL_TC_SandUhr_AlarmAction_0 == 's') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_AlarmAction)
#define TC_DEF_TC_SandUhr_AlarmAction 1
const struct CORBA_TypeCode_struct TC_SandUhr_AlarmAction_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_objref, "AlarmAction", "IDL:SandUhr/AlarmAction:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_0 == 's') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_AlarmAction_DeliveryFailed_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_AlarmAction_DeliveryFailed)
#define TC_DEF_TC_SandUhr_AlarmAction_DeliveryFailed 1
static const char *anon_subnames_array5[] = { "Reason" };
static const CORBA_TypeCode anon_subtypes_array6[] =
   { (CORBA_TypeCode) & TC_CORBA_string_struct };
const struct CORBA_TypeCode_struct
   TC_SandUhr_AlarmAction_DeliveryFailed_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_except, "DeliveryFailed",
      "IDL:SandUhr/AlarmAction/DeliveryFailed:1.0",
   0, 1,
   (const char **) anon_subnames_array5,
   (CORBA_TypeCode *) anon_subtypes_array6,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_AlarmBeep_0 == 's') \
&& (TC_IMPL_TC_SandUhr_AlarmBeep_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_AlarmBeep_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_AlarmBeep_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_AlarmBeep_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_AlarmBeep_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_AlarmBeep_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_AlarmBeep)
#define TC_DEF_TC_SandUhr_AlarmBeep 1
const struct CORBA_TypeCode_struct TC_SandUhr_AlarmBeep_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_objref, "AlarmBeep", "IDL:SandUhr/AlarmBeep:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_AlarmSound_0 == 's') \
&& (TC_IMPL_TC_SandUhr_AlarmSound_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_AlarmSound_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_AlarmSound_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_AlarmSound_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_AlarmSound_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_AlarmSound_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_AlarmSound)
#define TC_DEF_TC_SandUhr_AlarmSound 1
const struct CORBA_TypeCode_struct TC_SandUhr_AlarmSound_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_objref, "AlarmSound", "IDL:SandUhr/AlarmSound:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_AlarmCommand_0 == 's') \
&& (TC_IMPL_TC_SandUhr_AlarmCommand_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_AlarmCommand_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_AlarmCommand_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_AlarmCommand_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_AlarmCommand_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_AlarmCommand_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_AlarmCommand)
#define TC_DEF_TC_SandUhr_AlarmCommand 1
const struct CORBA_TypeCode_struct TC_SandUhr_AlarmCommand_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_objref, "AlarmCommand", "IDL:SandUhr/AlarmCommand:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_Timer_0 == 's') \
&& (TC_IMPL_TC_SandUhr_Timer_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_Timer_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_Timer_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_Timer_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_Timer_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_Timer_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_Timer)
#define TC_DEF_TC_SandUhr_Timer 1
const struct CORBA_TypeCode_struct TC_SandUhr_Timer_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_objref, "Timer", "IDL:SandUhr/Timer:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_Timer_NotRunning_0 == 's') \
&& (TC_IMPL_TC_SandUhr_Timer_NotRunning_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_Timer_NotRunning_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_Timer_NotRunning_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_Timer_NotRunning_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_Timer_NotRunning_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_Timer_NotRunning_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_Timer_NotRunning)
#define TC_DEF_TC_SandUhr_Timer_NotRunning 1
const struct CORBA_TypeCode_struct TC_SandUhr_Timer_NotRunning_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_except, "NotRunning", "IDL:SandUhr/Timer/NotRunning:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_Timer_TimerState_0 == 's') \
&& (TC_IMPL_TC_SandUhr_Timer_TimerState_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_Timer_TimerState_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_Timer_TimerState_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_Timer_TimerState_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_Timer_TimerState_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_Timer_TimerState_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_Timer_TimerState)
#define TC_DEF_TC_SandUhr_Timer_TimerState 1
static const char *anon_subnames_array29[] =
   { "TSPrepare", "TSRunning", "TSDone" };
const struct CORBA_TypeCode_struct TC_SandUhr_Timer_TimerState_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_enum, "TimerState", "IDL:SandUhr/Timer/TimerState:1.0",
   0, 3,
   (const char **) anon_subnames_array29,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_Timer_Color_0 == 's') \
&& (TC_IMPL_TC_SandUhr_Timer_Color_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_Timer_Color_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_Timer_Color_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_Timer_Color_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_Timer_Color_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_Timer_Color_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_Timer_Color)
#define TC_DEF_TC_SandUhr_Timer_Color 1
static const char *anon_subnames_array33[] = { "Red", "Green", "Blue" };
static const CORBA_TypeCode anon_subtypes_array34[] =
   { (CORBA_TypeCode) & TC_CORBA_unsigned_short_struct,
(CORBA_TypeCode) & TC_CORBA_unsigned_short_struct, (CORBA_TypeCode) & TC_CORBA_unsigned_short_struct };
const struct CORBA_TypeCode_struct TC_SandUhr_Timer_Color_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_struct, "Color", "IDL:SandUhr/Timer/Color:1.0",
   0, 3,
   (const char **) anon_subnames_array33,
   (CORBA_TypeCode *) anon_subtypes_array34,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_Timer_Layer_0 == 's') \
&& (TC_IMPL_TC_SandUhr_Timer_Layer_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_Timer_Layer_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_Timer_Layer_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_Timer_Layer_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_Timer_Layer_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_Timer_Layer_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_Timer_Layer)
#define TC_DEF_TC_SandUhr_Timer_Layer 1
static const char *anon_subnames_array37[] =
   { "LayerDesktop", "LayerBelow", "LayerNormal", "LayerOntop" };
const struct CORBA_TypeCode_struct TC_SandUhr_Timer_Layer_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_enum, "Layer", "IDL:SandUhr/Timer/Layer:1.0",
   0, 4,
   (const char **) anon_subnames_array37,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_TimerFactory_0 == 's') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_TimerFactory)
#define TC_DEF_TC_SandUhr_TimerFactory 1
const struct CORBA_TypeCode_struct TC_SandUhr_TimerFactory_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_objref, "TimerFactory", "IDL:SandUhr/TimerFactory:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_0 == 's') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_InvalidTime_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_TimerFactory_InvalidTime)
#define TC_DEF_TC_SandUhr_TimerFactory_InvalidTime 1
const struct CORBA_TypeCode_struct TC_SandUhr_TimerFactory_InvalidTime_struct
   = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_except, "InvalidTime", "IDL:SandUhr/TimerFactory/InvalidTime:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_0 == 's') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_1 == 'a') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_2 == 'n') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_3 == 'd') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_4 == 'u') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_5 == 'h') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_6 == 'r') \
) && !defined(TC_DEF_TC_CORBA_sequence_SandUhr_Timer)
#define TC_DEF_TC_CORBA_sequence_SandUhr_Timer 1
static const CORBA_TypeCode anon_subtypes_array50[] =
   { (CORBA_TypeCode) & TC_Object_struct };
const struct CORBA_TypeCode_struct TC_CORBA_sequence_SandUhr_Timer_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_sequence, NULL, NULL,
   0, 1,
   NULL,
   (CORBA_TypeCode *) anon_subtypes_array50,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_0 == 's') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_1 == 'a') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_2 == 'n') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_3 == 'd') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_4 == 'u') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_5 == 'h') \
&& (TC_IMPL_TC_CORBA_sequence_SandUhr_Timer_6 == 'r') \
) && !defined(TC_DEF_TC_CORBA_sequence_SandUhr_Timer)
#define TC_DEF_TC_CORBA_sequence_SandUhr_Timer 1
static const CORBA_TypeCode anon_subtypes_array59[] =
   { (CORBA_TypeCode) & TC_Object_struct };
const struct CORBA_TypeCode_struct TC_CORBA_sequence_SandUhr_Timer_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_sequence, NULL, NULL,
   0, 1,
   NULL,
   (CORBA_TypeCode *) anon_subtypes_array59,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_0 == 's') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_1 == 'a') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_2 == 'n') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_3 == 'd') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_4 == 'u') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_5 == 'h') \
&& (TC_IMPL_TC_SandUhr_TimerFactory_TimerVec_6 == 'r') \
) && !defined(TC_DEF_TC_SandUhr_TimerFactory_TimerVec)
#define TC_DEF_TC_SandUhr_TimerFactory_TimerVec 1
static const CORBA_TypeCode anon_subtypes_array63[] =
   { (CORBA_TypeCode) & TC_CORBA_sequence_SandUhr_Timer_struct };
const struct CORBA_TypeCode_struct TC_SandUhr_TimerFactory_TimerVec_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_alias, "TimerVec", "IDL:SandUhr/TimerFactory/TimerVec:1.0",
   0, 1,
   NULL,
   (CORBA_TypeCode *) anon_subtypes_array63,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
gpointer
SandUhr_AlarmAction_DeliveryFailed__free(gpointer mem, gpointer dat,
                               CORBA_boolean free_strings)
{
   SandUhr_AlarmAction_DeliveryFailed *var = mem;

   if (free_strings) {
      CORBA_string__free(&(var->Reason), NULL, free_strings);
   }
   return (gpointer) (var + 1);
}

SandUhr_AlarmAction_DeliveryFailed *
SandUhr_AlarmAction_DeliveryFailed__alloc(void)
{
   SandUhr_AlarmAction_DeliveryFailed *retval;

   retval =
      ORBit_alloc(sizeof(SandUhr_AlarmAction_DeliveryFailed),
              (ORBit_free_childvals)
              SandUhr_AlarmAction_DeliveryFailed__free,
              GUINT_TO_POINTER(1));
   memset(&(retval->Reason), '\0', sizeof(retval->Reason));
   return retval;
}

CORBA_unsigned_long SandUhr_AlarmAction__classid = 0;
CORBA_unsigned_long SandUhr_AlarmBeep__classid = 0;
CORBA_unsigned_long SandUhr_AlarmSound__classid = 0;
CORBA_unsigned_long SandUhr_AlarmCommand__classid = 0;
gpointer
SandUhr_Timer_NotRunning__free(gpointer mem, gpointer dat,
                         CORBA_boolean free_strings)
{
   SandUhr_Timer_NotRunning *var = mem;

   return (gpointer) (var + 1);
}

gpointer
SandUhr_Timer_Color__free(gpointer mem, gpointer dat,
                    CORBA_boolean free_strings)
{
   SandUhr_Timer_Color *var = mem;

   return (gpointer) (var + 1);
}

SandUhr_Timer_Color *
SandUhr_Timer_Color__alloc(void)
{
   SandUhr_Timer_Color *retval;

   retval =
      ORBit_alloc(sizeof(SandUhr_Timer_Color),
              (ORBit_free_childvals) SandUhr_Timer_Color__free,
              GUINT_TO_POINTER(1));
   return retval;
}

CORBA_unsigned_long SandUhr_Timer__classid = 0;
gpointer
SandUhr_TimerFactory_InvalidTime__free(gpointer mem, gpointer dat,
                               CORBA_boolean free_strings)
{
   SandUhr_TimerFactory_InvalidTime *var = mem;

   return (gpointer) (var + 1);
}

#if ( (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_0 == 's') \
&& (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_1 == 'a') \
&& (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_2 == 'n') \
&& (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_3 == 'd') \
&& (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_4 == 'u') \
&& (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_5 == 'h') \
&& (ORBIT_IMPL_CORBA_sequence_SandUhr_Timer_6 == 'r') \
) && !defined(ORBIT_DEF_CORBA_sequence_SandUhr_Timer)
#define ORBIT_DEF_CORBA_sequence_SandUhr_Timer 1

gpointer
CORBA_sequence_SandUhr_Timer__free(gpointer mem, gpointer dat,
                           CORBA_boolean free_strings)
{
   CORBA_sequence_SandUhr_Timer *val = mem;

   if (val->_release)
      ORBit_free(val->_buffer, free_strings);
   return (gpointer) (val + 1);
}

CORBA_sequence_SandUhr_Timer *
CORBA_sequence_SandUhr_Timer__alloc(void)
{
   CORBA_sequence_SandUhr_Timer *retval;

   retval =
      ORBit_alloc(sizeof(CORBA_sequence_SandUhr_Timer),
              (ORBit_free_childvals) CORBA_sequence_SandUhr_Timer__free,
              GUINT_TO_POINTER(1));
   retval->_maximum = 0;
   retval->_length = 0;
   retval->_buffer = NULL;
   retval->_release = CORBA_FALSE;
   return retval;
}

SandUhr_Timer *
CORBA_sequence_SandUhr_Timer_allocbuf(CORBA_unsigned_long len)
{
   SandUhr_Timer *retval =
      ORBit_alloc(sizeof(SandUhr_Timer) * len,
              (ORBit_free_childvals) SandUhr_Timer__free,
              GUINT_TO_POINTER(len));
   memset(retval, '\0', sizeof(SandUhr_Timer) * len);
   return retval;
}
#endif

gpointer
SandUhr_TimerFactory_TimerVec__free(gpointer mem, gpointer dat,
                            CORBA_boolean free_strings)
{
   return CORBA_sequence_SandUhr_Timer__free(mem, dat, free_strings);
}

SandUhr_TimerFactory_TimerVec *
SandUhr_TimerFactory_TimerVec__alloc(void)
{
   return CORBA_sequence_SandUhr_Timer__alloc();
}

CORBA_unsigned_long SandUhr_TimerFactory__classid = 0;

Generated by  Doxygen 1.6.0   Back to index