/[pspp]/psppire/src/pspp-dict.c
ViewVC logotype

Diff of /psppire/src/pspp-dict.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by jmd, Sun Nov 6 10:37:57 2005 UTC revision 1.9 by jmd, Sat Nov 12 07:52:06 2005 UTC
# Line 138  pspp_dict_new (void) Line 138  pspp_dict_new (void)
138  }  }
139    
140    
141    /**
142     * pspp_dict_new_from_dict:
143     * @returns: a new #PSPP_Dict object
144     *
145     * Creates a new #PSPP_Dict.
146     */
147    PSPP_Dict*
148    pspp_dict_new_from_dict (struct dictionary *d)
149    {
150      PSPP_Dict *new_dict = g_object_new (G_TYPE_PSPP_DICT, NULL);
151      new_dict->dict = d;
152      return new_dict;
153    }
154    
155    
156  void  void
157  pspp_dict_delete_var(PSPP_Dict *d, gint idx)  pspp_dict_delete_var(PSPP_Dict *d, gint idx)
158  {  {
# Line 220  pspp_dict_var_changed(PSPP_Dict *d, gint Line 235  pspp_dict_var_changed(PSPP_Dict *d, gint
235  {  {
236    g_signal_emit(d, signal[VARIABLE_CHANGED], 0, idx);    g_signal_emit(d, signal[VARIABLE_CHANGED], 0, idx);
237  }  }
238    
239    
240    
241    /* Clears the contents of D */
242    void
243    pspp_dict_clear(PSPP_Dict *d)
244    {
245      dict_clear(d->dict);
246    }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26