Module: MilkTea::ImportedBindings
- Defined in:
- lib/milk_tea/bindings/imported_bindings.rb,
lib/milk_tea/bindings/imported_bindings/naming.rb,
lib/milk_tea/bindings/imported_bindings/defaults.rb,
lib/milk_tea/bindings/imported_bindings/generator.rb,
lib/milk_tea/bindings/imported_bindings/method_source.rb
Defined Under Namespace
Classes: Binding, Error, Generator, Registry
Class Method Summary collapse
Class Method Details
.default_bindings(root: MilkTea.root) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
# File 'lib/milk_tea/bindings/imported_bindings/defaults.rb', line 5 def self.default_bindings(root: MilkTea.root) [ Binding.new( name: "raymath", module_name: "std.raymath", binding_path: root.join("std/raymath.mt"), raw_module_name: "std.c.raymath", policy_path: root.join("bindings/imported/raymath.binding.json"), ), Binding.new( name: "raylib", module_name: "std.raylib", binding_path: root.join("std/raylib.mt"), raw_module_name: "std.c.raylib", policy_path: root.join("bindings/imported/raylib.binding.json"), ), Binding.new( name: "rlgl", module_name: "std.rlgl", binding_path: root.join("std/rlgl.mt"), raw_module_name: "std.c.rlgl", policy_path: root.join("bindings/imported/rlgl.binding.json"), ), Binding.new( name: "raygui", module_name: "std.raygui", binding_path: root.join("std/raygui.mt"), raw_module_name: "std.c.raygui", policy_path: root.join("bindings/imported/raygui.binding.json"), ), Binding.new( name: "sdl3", module_name: "std.sdl3", binding_path: root.join("std/sdl3.mt"), raw_module_name: "std.c.sdl3", policy_path: root.join("bindings/imported/sdl3.binding.json"), ), Binding.new( name: "gl", module_name: "std.gl", binding_path: root.join("std/gl.mt"), raw_module_name: "std.c.gl", policy_path: root.join("bindings/imported/gl.binding.json"), ), Binding.new( name: "glfw", module_name: "std.glfw", binding_path: root.join("std/glfw.mt"), raw_module_name: "std.c.glfw", policy_path: root.join("bindings/imported/glfw.binding.json"), ), Binding.new( name: "box2d", module_name: "std.box2d", binding_path: root.join("std/box2d.mt"), raw_module_name: "std.c.box2d", policy_path: root.join("bindings/imported/box2d.binding.json"), ), Binding.new( name: "cjson", module_name: "std.cjson", binding_path: root.join("std/cjson.mt"), raw_module_name: "std.c.cjson", policy_path: root.join("bindings/imported/cjson.binding.json"), ), Binding.new( name: "flecs", module_name: "std.flecs", binding_path: root.join("std/flecs.mt"), raw_module_name: "std.c.flecs", policy_path: root.join("bindings/imported/flecs.binding.json"), ), Binding.new( name: "libuv", module_name: "std.libuv", binding_path: root.join("std/libuv.mt"), raw_module_name: "std.c.libuv", policy_path: root.join("bindings/imported/libuv.binding.json"), ), Binding.new( name: "enet", module_name: "std.enet", binding_path: root.join("std/enet.mt"), raw_module_name: "std.c.enet", policy_path: root.join("bindings/imported/enet.binding.json"), ), Binding.new( name: "zstd", module_name: "std.zstd", binding_path: root.join("std/zstd.mt"), raw_module_name: "std.c.zstd", policy_path: root.join("bindings/imported/zstd.binding.json"), ), Binding.new( name: "sqlite3", module_name: "std.sqlite3", binding_path: root.join("std/sqlite3.mt"), raw_module_name: "std.c.sqlite3", policy_path: root.join("bindings/imported/sqlite3.binding.json"), ), Binding.new( name: "curl", module_name: "std.curl", binding_path: root.join("std/curl.mt"), raw_module_name: "std.c.curl", policy_path: root.join("bindings/imported/curl.binding.json"), ), Binding.new( name: "pcre2", module_name: "std.pcre2", binding_path: root.join("std/pcre2.mt"), raw_module_name: "std.c.pcre2", policy_path: root.join("bindings/imported/pcre2.binding.json"), ), Binding.new( name: "steamworks", module_name: "std.steamworks", binding_path: root.join("std/steamworks.mt"), raw_module_name: "std.c.steamworks", policy_path: root.join("bindings/imported/steamworks.binding.json"), ), Binding.new( name: "miniaudio", module_name: "std.miniaudio", binding_path: root.join("std/miniaudio.mt"), raw_module_name: "std.c.miniaudio", policy_path: root.join("bindings/imported/miniaudio.binding.json"), ), Binding.new( name: "tracy", module_name: "std.tracy", binding_path: root.join("std/tracy.mt"), raw_module_name: "std.c.tracy", policy_path: root.join("bindings/imported/tracy.binding.json"), ), Binding.new( name: "rres", module_name: "std.rres", binding_path: root.join("std/rres.mt"), raw_module_name: "std.c.rres", policy_path: root.join("bindings/imported/rres.binding.json"), ), Binding.new( name: "rpng", module_name: "std.rpng", binding_path: root.join("std/rpng.mt"), raw_module_name: "std.c.rpng", policy_path: root.join("bindings/imported/rpng.binding.json"), ), Binding.new( name: "stb_image", module_name: "std.stb_image", binding_path: root.join("std/stb_image.mt"), raw_module_name: "std.c.stb_image", policy_path: root.join("bindings/imported/stb_image.binding.json"), ), Binding.new( name: "stb_truetype", module_name: "std.stb_truetype", binding_path: root.join("std/stb_truetype.mt"), raw_module_name: "std.c.stb_truetype", policy_path: root.join("bindings/imported/stb_truetype.binding.json"), ), Binding.new( name: "stb_image_write", module_name: "std.stb_image_write", binding_path: root.join("std/stb_image_write.mt"), raw_module_name: "std.c.stb_image_write", policy_path: root.join("bindings/imported/stb_image_write.binding.json"), ), Binding.new( name: "stb_image_resize2", module_name: "std.stb_image_resize2", binding_path: root.join("std/stb_image_resize2.mt"), raw_module_name: "std.c.stb_image_resize2", policy_path: root.join("bindings/imported/stb_image_resize2.binding.json"), ), Binding.new( name: "stb_rect_pack", module_name: "std.stb_rect_pack", binding_path: root.join("std/stb_rect_pack.mt"), raw_module_name: "std.c.stb_rect_pack", policy_path: root.join("bindings/imported/stb_rect_pack.binding.json"), ), Binding.new( name: "stb_vorbis", module_name: "std.stb_vorbis", binding_path: root.join("std/stb_vorbis.mt"), raw_module_name: "std.c.stb_vorbis", policy_path: root.join("bindings/imported/stb_vorbis.binding.json"), ), Binding.new( name: "cgltf", module_name: "std.cgltf", binding_path: root.join("std/cgltf.mt"), raw_module_name: "std.c.cgltf", policy_path: root.join("bindings/imported/cgltf.binding.json"), ), ] end |