From 91bedeec025344f5e8d84933c31241b6722d828d Mon Sep 17 00:00:00 2001 From: Adam Goode Date: Thu, 9 May 2024 20:32:20 -0400 Subject: [PATCH] Generate Timer.h --- cincludes.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cincludes.rb b/cincludes.rb index 4e3e4b2..3b7e6c7 100644 --- a/cincludes.rb +++ b/cincludes.rb @@ -470,9 +470,10 @@ def generate(defs) ["Carbon", "Devices", "Dialogs", "Errors", "Events", "Files", "FixMath", "Fonts", "Icons", "LowMem", "MacMemory", "MacTypes", "Memory", "Menus", "MixedMode", "NumberFormatting", "OSUtils", "Processes", "Quickdraw", - "Resources", "SegLoad", "Sound", "TextEdit", "TextUtils", "ToolUtils", - "Traps", "Types", "Windows", "ConditionalMacros", "Gestalt", "AppleEvents", - "Serial", "StandardFile", "Strings", "Navigation"].each do |name| + "Resources", "SegLoad", "Sound", "TextEdit", "TextUtils", "Timer", + "ToolUtils", "Traps", "Types", "Windows", "ConditionalMacros", + "Gestalt", "AppleEvents", "Serial", "StandardFile", "Strings", + "Navigation"].each do |name| File.open("#{$options.output_dir}/CIncludes/#{name}.h", "w") do |f| f << "#pragma once\n" f << "#include \"Multiverse.h\"\n"