Esempio n. 1
0
struct s_label_attributes *p_label_alloc(struct s_object *self) {
    struct s_label_attributes *result = d_prepare(self, label);
    f_mutex_new(self);	/* inherit */
    f_memory_new(self);	/* inherit */
    f_uiable_new(self);	/* inherit */
    return result;
}
Esempio n. 2
0
struct s_container_attributes *p_container_alloc(struct s_object *self) {
  struct s_container_attributes *result = d_prepare(self, container);
  f_mutex_new(self);    /* inherit */
  f_memory_new(self);   /* inherit */
  f_uiable_new(self);   /* inherit */
  return result;
}