|
Re: add -prefix option to Ruby module: msg#00196programming.swig
Hi, Is it not good? In <20040520.003519.82485676.kou@localhost> "[Swig] add -prefix option to Ruby module" on Thu, 20 May 2004 00:35:19 +0900 (JST), Kouhei Sutou <kou@xxxxxxxxxxxxxxxxxxxxxx> wrote: > I want to add prefix (like `sample::') to all module name > when I use swig for Ruby and other languages. But I don't > want to add prefix directory by %module. > > I made a patch for add -prefix option to Ruby module. The > following two examples work similarly by applying the > attached patch. > > i) > > a.i > ---- > %module "x::a" > ---- > > b.i > ---- > %module "x::b" > %import a.i > ---- > > % swig -ruby b.i > > ii) > > a.i > ---- > %module "a" > ---- > > b.i > ---- > %module "b" > %import a.i > ---- > > % swig -ruby -prefix x:: b.i -- kou _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: warnings when using directors with multiple throw specifiers: 00196, Oren Miller |
|---|---|
| Next by Date: | Re: warnings when using directors with multiple throw specifiers: 00196, William S Fulton |
| Previous by Thread: | add -prefix option to Ruby modulei: 00196, Kouhei Sutou |
| Next by Thread: | osx bundles and swig: 00196, Daniel Bisig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |