Home | History | Annotate | Download | only in python

Lines Matching defs:enumeration

136   const char **enumeration;
239 for (i = 0; self->enumeration[i]; ++i)
240 if (! strcmp (self->enumeration[i], str.get ()))
242 if (! self->enumeration[i])
245 _("The value must be member of an enumeration."));
248 self->value.cstringval = self->enumeration[i];
704 self->value.cstringval = self->enumeration[0];
706 self->enumeration,
734 _("An enumeration is required for PARAM_ENUM."));
741 _("The enumeration is not a sequence."));
751 _("The enumeration is empty."));
756 char **enumeration = holder.get ();
767 _("The enumeration item not a string."));
770 enumeration[i] = python_string_to_host_string (item.get ()).release ();
771 if (enumeration[i] == NULL)
775 self->enumeration = const_cast<const char**> (holder.release ());
854 obj->enumeration = NULL;