Changeset 571

Show
Ignore:
Timestamp:
08/27/08 16:27:50 (3 months ago)
Author:
Mike Wey
Message:

don't forget to strip the inout from the type

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/gtk/TreeView.d

    r570 r571  
    14611461    { 
    14621462        // gboolean gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view,  gint x,  gint y,  GtkTreePath **path,  GtkTreeViewColumn **column,  gint *cell_x,  gint *cell_y); 
    1463         GtkTreePath* gtktreepath (path is null) ? null : path.getinout TreePathStruct(); 
    1464         GtkTreeViewColumn* gtktreeviewcolumn (column is null) ? null : column.getinout TreeViewColumnStruct(); 
     1463        GtkTreePath* gtktreepath (path is null) ? null : path.getTreePathStruct(); 
     1464        GtkTreeViewColumn* gtktreeviewcolumn (column is null) ? null : column.getTreeViewColumnStruct(); 
    14651465         
    14661466        auto p = gtk_tree_view_get_path_at_pos(gtkTreeView, x, y, &gtktreepath, &gtktreeviewcolumn, &cellX, &cellY); 
    14671467         
    1468         path = new inout TreePath(gtktreepath); 
    1469         column = new inout TreeViewColumn(gtktreeviewcolumn); 
     1468        path = new TreePath(gtktreepath); 
     1469        column = new TreeViewColumn(gtktreeviewcolumn); 
    14701470        return p; 
    14711471    } 
  • trunk/wrap/utils/funct.d

    r570 r571  
    651651                else 
    652652                { 
    653                     bd ~= parmsType[i].removechars("*") ~"* "~ parmsType[i].removechars("*").tolower() ~ " ("~id~" is null) ? null : "~id~ ".get"~ parmsWrap[i] ~"Struct();"; 
     653                    bd ~= parmsType[i].removechars("*") ~"* "~ parmsType[i].removechars("*").tolower() ~ " ("~id~" is null) ? null : "~id~ ".get"~ split(parmsWrap[i])[1] ~"Struct();"; 
    654654                } 
    655655 
    656656                gtkCall ~= ", &" ~ parmsType[i].removechars("*").tolower(); 
    657657                 
    658                 end ~= id ~" = new "~ parmsWrap[i] ~"("~ parmsType[i].removechars("*").tolower() ~");"; 
     658                end ~= id ~" = new "~ split(parmsWrap[i])[1] ~"("~ parmsType[i].removechars("*").tolower() ~");"; 
    659659            } 
    660660            else