Changeset 361

Show
Ignore:
Timestamp:
12/31/07 01:36:38 (1 year ago)
Author:
Pse
Message:

Wrapper: type modules are now publicly imported for each package (ticket #6).
Changes will be mirrored in the next full wrap.
TODO: remove unnecessary type-imports in the demos.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wrap/utils/GtkDClass.d

    r347 r361  
    239239 
    240240        // moved to class level 
    241         gtkDText ~= "private import " ~convParms.bindDir~ "." ~convParms.outPack~ "types;\n\n"; 
     241                /* Type information should be publicly imported by all modules. */ 
     242        gtkDText ~= "public import " ~convParms.bindDir~ "." ~convParms.outPack~ "types;\n\n"; 
    242243        gtkDText ~= "private import " ~convParms.bindDir~ "." ~convParms.outPack ~ ";\n\n"; 
    243244