This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package win32 | |
foreign import win32 "system:kernel32.lib"; | |
uintptr_t :: u32; | |
va_list :: cstring; | |
size_t :: u32; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package win32 | |
foreign import kernel32 "system:kernel32.lib"; | |
foreign import user32 "system:user32.lib"; | |
foreign import ole32 "system:ole32.lib"; | |
foreign import shell32 "system:shell32.lib"; | |
foreign import gdi32 "system:gdi32.lib"; | |
foreign import comdlg32 "system:comdlg32.lib"; | |
foreign import bcrypt "system:bcrypt.lib"; | |
foreign import advapi32 "system:advapi32.lib"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fib: | |
.LFB0: | |
.cfi_startproc | |
pushq %rbp | |
.cfi_def_cfa_offset 16 | |
.cfi_offset 6, -16 | |
movq %rsp, %rbp | |
.cfi_def_cfa_register 6 | |
pushq %rbx | |
subq $24, %rsp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sdl | |
import _c "core:c" | |
/* Macros */ | |
ASSERT_LEVEL :: 2; | |
SIZEOF_VOIDP :: 8; | |
HAVE_GCC_ATOMICS :: 1; | |
HAVE_LIBC :: 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sdl_net | |
import _c "core:c" | |
import sdl "shared:sdl" | |
/* Macros */ | |
MAJOR_VERSION :: 2; | |
MINOR_VERSION :: 0; | |
PATCHLEVEL :: 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package curl | |
import _c "core:c" | |
/* Macros */ | |
SOCKET_BAD :: -1; | |
SSLBACKEND_LIBRESSL :: SSLBACKEND_OPENSSL; | |
SSLBACKEND_BORINGSSL :: SSLBACKEND_OPENSSL; | |
SSLBACKEND_CYASSL :: SSLBACKEND_WOLFSSL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "shared:shaderc" | |
import "vendor:glfw" | |
import vk "vendor:vulkan" | |
MAX_FRAMES_IN_FLIGHT :: 2 | |
Context :: struct | |
{ | |
instance: vk.Instance, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Code_Index_Nest *odin_parse_statement(Code_Index_File *index, Generic_Parse_State *state) | |
{ | |
Token *token = token_it_read(&state->it); | |
Code_Index_Nest *result = push_array_zero(state->arena, Code_Index_Nest, 1); | |
result->kind = CodeIndexNest_Statement; | |
result->open = Ii64(token->pos); | |
result->close = Ii64(max_i64); | |
result->file = index; | |
u8 check_buffer[1024] = {0}; | |
buffer_read_range(state->app, index->buffer, Ii64(token), check_buffer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |
<uses-feature android:name="android.hardware.type.watch" /> | |
<uses-permission android:name="android.permission.WAKE_LOCK" /> | |
<uses-permission android:name="com.google.android.permission.PROVIDE_BACKGROUND" /> | |
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | |
<application |