~ubuntu-branches/ubuntu/precise/gtk-sharp2/precise

« back to all changes in this revision

Viewing changes to generator/GenBase.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-05-18 00:00:41 UTC
  • mfrom: (1.1.16 upstream) (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100518000041-tlgvki554jx6ndhi
Tags: 2.12.10-1
* New upstream release
* debian/rules:
  + Bump API version to 2.12.10
* debian/control:
  + Bump Standards to 3.8.4 (no changes needed)
* debian/source/format:
  + Force Debian source format 1.0
* debian/rules:
  + Write a get-orig-source rule
* debian/watch:
  + Get rid of evil "debian uupdate" line which breaks packaging work on
    Ubuntu
* debian/patches/01_dllmaps.dpatch:
  + Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                                return MarshalType;
99
99
                        }
100
100
                }
101
 
 
 
101
 
102
102
                protected void AppendCustom (StreamWriter sw, string custom_dir)
 
103
                {
 
104
                        AppendCustom (sw, custom_dir, Name);
 
105
                }
 
106
 
 
107
                protected void AppendCustom (StreamWriter sw, string custom_dir, string type_name)
103
108
                {
104
109
                        char sep = Path.DirectorySeparatorChar;
105
 
                        string custom = custom_dir + sep + Name + ".custom";
 
110
                        string custom = custom_dir + sep + type_name + ".custom";
106
111
                        if (File.Exists(custom)) {
107
112
                                sw.WriteLine ("#region Customized extensions");
108
 
                                sw.WriteLine ("#line 1 \"" + Name + ".custom\"");
 
113
                                sw.WriteLine ("#line 1 \"" + type_name + ".custom\"");
109
114
                                FileStream custstream = new FileStream(custom, FileMode.Open, FileAccess.Read);
110
115
                                StreamReader sr = new StreamReader(custstream);
111
116
                                sw.WriteLine (sr.ReadToEnd ());