Skip to content

Commit

Permalink
add Types.h/Types.r
Browse files Browse the repository at this point in the history
  • Loading branch information
autc04 committed Sep 26, 2019
1 parent 4484dc6 commit cd0ef35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cincludes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def generate(defs)
"Fonts", "Icons", "LowMem", "MacMemory", "MacTypes", "Memory", "Menus",
"MixedMode", "NumberFormatting", "OSUtils", "Processes", "Quickdraw",
"Resources", "SegLoad", "Sound", "TextEdit", "TextUtils", "ToolUtils",
"Traps", "Windows", "ConditionalMacros", "Gestalt", "AppleEvents",
"Traps", "Types", "Windows", "ConditionalMacros", "Gestalt", "AppleEvents",
"StandardFile", "Serial"].each do |name|
File.open("#{$options.output_dir}/CIncludes/#{name}.h", "w") do |f|
f << "#pragma once\n"
Expand All @@ -381,7 +381,7 @@ def generate(defs)

Dir.glob("custom/*.r") {|f| FileUtils.cp(f, "#{$options.output_dir}/RIncludes/")}
Dir.glob("custom/*.c") {|f| FileUtils.cp(f, "#{$options.output_dir}/src/")}
["CodeFragments", "Dialogs", "Finder", "Icons", "MacTypes",
["CodeFragments", "Dialogs", "Finder", "Icons", "MacTypes", "Types",
"Menus", "MixedMode", "Processes", "Windows", "ConditionalMacros"].each do |name|
File.open("#{$options.output_dir}/RIncludes/#{name}.r", "w") do |f|
f << "#include \"Multiverse.r\"\n"
Expand Down

0 comments on commit cd0ef35

Please sign in to comment.