Browse Source

Update examples/all

gingerBill 3 years ago
parent
commit
92a0ce991e
3 changed files with 69 additions and 0 deletions
  1. 5 0
      examples/all/all_experimental.odin
  2. 53 0
      examples/all/all_main.odin
  3. 11 0
      examples/all/all_vendor.odin

+ 5 - 0
examples/all/all_experimental.odin

@@ -3,3 +3,8 @@ package all
 
 import c_tokenizer    "core:c/frontend/tokenizer"
 import c_preprocessor "core:c/frontend/preprocessor"
+import virtual "core:mem/virtual"
+
+_ :: c_tokenizer
+_ :: c_preprocessor
+_ :: virtual

+ 53 - 0
examples/all/all_main.odin

@@ -56,3 +56,56 @@ import utf8           "core:unicode/utf8"
 import utf16          "core:unicode/utf16"
 
 main :: proc(){}
+
+
+_ :: bufio
+_ :: bytes
+_ :: c
+_ :: libc
+_ :: compress
+_ :: gzip
+_ :: zlib
+_ :: container
+_ :: dynlib
+_ :: encoding
+_ :: base32
+_ :: base64
+_ :: csv
+_ :: hxa
+_ :: json
+_ :: fmt
+_ :: hash
+_ :: image
+_ :: png
+_ :: io
+_ :: log
+_ :: math
+_ :: big
+_ :: bits
+_ :: fixed
+_ :: linalg
+_ :: rand
+_ :: mem
+_ :: ast
+_ :: doc_format
+_ :: odin_format
+_ :: odin_parser
+_ :: odin_printer
+_ :: odin_tokenizer
+_ :: os
+_ :: path
+_ :: filepath
+_ :: reflect
+_ :: runtime
+_ :: slice
+_ :: sort
+_ :: strconv
+_ :: strings
+_ :: sync
+_ :: sync2
+_ :: scanner
+_ :: thread
+_ :: time
+_ :: unicode
+_ :: utf8
+_ :: utf16

+ 11 - 0
examples/all/all_vendor.odin

@@ -11,3 +11,14 @@ import SDLNet "vendor:sdl2/net"
 import MIX    "vendor:sdl2/mixer"
 import TTF    "vendor:sdl2/ttf"
 import vk     "vendor:vulkan"
+
+_ :: glfw
+_ :: gl
+_ :: rl
+_ :: PM
+_ :: SDL
+_ :: IMG
+_ :: SDLNet
+_ :: MIX
+_ :: TTF
+_ :: vk