Commit Graph

9656 Commits

Author SHA1 Message Date
Jeroen van Rijn
879a4d49ae Merge pull request #1208 from englerj/win32-bindings
Additional win32 bindings.
2021-10-06 04:27:09 -07:00
Josh Engler
15594706c9 Additional win32 bindings. 2021-10-05 19:09:20 -04:00
gingerBill
58e3f779f2 Remove nonsense from static_arena_init 2021-10-05 17:12:24 +01:00
gingerBill
455d64fbd4 Add error value to commit 2021-10-05 17:11:12 +01:00
gingerBill
16ca677c1f Correct mmap usage 2021-10-05 17:05:33 +01:00
gingerBill
1f1434b384 Add arena_util.odin 2021-10-05 16:42:42 +01:00
gingerBill
f83370235f Add static_arena_bootstrap_new 2021-10-05 16:39:14 +01:00
gingerBill
4961aff51b Minor cleanup 2021-10-05 16:37:15 +01:00
gingerBill
0ed3143006 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-10-05 16:28:25 +01:00
gingerBill
bc2b8b597c Add virtual.Static_Arena 2021-10-05 16:28:14 +01:00
gingerBill
ccc4c641c4 Clean up Memory_Block logic 2021-10-05 16:25:30 +01:00
Jeroen van Rijn
0ca8a4ad3b Merge pull request #1207 from Kelimion/fix_1206
Remove assert from `mem.ptr_to_bytes`. Fixes #1206
2021-10-05 05:20:24 -07:00
Jeroen van Rijn
1931e3147d Remove assert from mem.ptr_to_bytes. Fixes #1206 2021-10-05 14:18:48 +02:00
gingerBill
9d9ec192f1 Rename to growing_arena.odin 2021-10-04 17:57:59 +01:00
gingerBill
586a000152 Add Protect_Flags for virtual.protect 2021-10-04 17:42:15 +01:00
gingerBill
728f143e33 Add virtual_linux.odin 2021-10-04 17:30:06 +01:00
gingerBill
f2e78dcc0b Separate out the virtual memory allocation procedures
`reserve`, `commit`, `reserve_and_commit`, `decommit`, `release`, `protect`
2021-10-04 16:43:52 +01:00
gingerBill
a463609e4c If an entity is inserted into a scope already exists by the same name, it will not report as an error any more 2021-10-04 12:41:33 +01:00
gingerBill
e05a305764 Minor clean up 2021-10-03 12:43:11 +01:00
gingerBill
a437c95fed Remove mutex from Growing_Arena; Add Growing_Arena_Temp 2021-10-03 12:41:24 +01:00
gingerBill
8fe70978ff Add @(init) usage to core:mem/virtual 2021-10-03 12:40:51 +01:00
gingerBill
647fee31f8 Correct offset_of_by_string 2021-10-03 12:34:01 +01:00
gingerBill
8af6b6fa18 Remove debug code 2021-10-03 12:32:51 +01:00
gingerBill
f48f06e7b7 Add offset_of_by_string 2021-10-03 12:32:04 +01:00
gingerBill
51b5a973e2 Allow constant string value for the field argument of offset_of 2021-10-03 12:24:54 +01:00
gingerBill
2bdae52fed Add @(init) attribute for procedures, allowing for procedures to be called at startup
These procedures will be called after global variables have been initialized as normal
2021-10-03 11:53:32 +01:00
gingerBill
b3a66b3950 Change c.int to PixelFormat where appropriate 2021-10-02 23:58:40 +01:00
gingerBill
a971fb6e94 Make TextFormat use static internal buffers; Add TextFormatAlloc 2021-10-02 22:43:55 +01:00
gingerBill
036fa5cb24 Correct ABI for windows with LLVM 2021-10-02 18:12:34 +01:00
gingerBill
81fe50d623 Add sizes to assert message 2021-10-02 17:48:09 +01:00
gingerBill
b9b9bd8612 Add message to assert; add sanity check for possible future behaviour 2021-10-02 17:44:24 +01:00
gingerBill
171a5d6476 Clean up struct_fields_index_by_increasing_offset 2021-10-02 17:43:48 +01:00
gingerBill
00671a59a0 Minor code cleanup for backend; add struct_fields_index_by_increasing_offset for future use 2021-10-02 17:22:56 +01:00
gingerBill
ebca0398a7 Remove need for alignment lb_struct_has_padding_prefix 2021-10-02 16:06:42 +01:00
gingerBill
58a405cc9f Fix typos; Add MemAllocator which wraps the raylib allocation procedures into an Odin Allocator; Reimplement TextFormat using fmt.*printf 2021-10-02 15:46:55 +01:00
gingerBill
444fedd8d4 Heavily improve the LLVM struct type generation to improve ABI 2021-10-02 15:45:46 +01:00
gingerBill
f7137bf367 Improvements to vendor:microui 2021-10-02 14:06:34 +01:00
gingerBill
92a0ce991e Update examples/all 2021-10-02 14:06:11 +01:00
gingerBill
1e7c60e171 Minor style change 2021-10-02 14:05:26 +01:00
gingerBill
2d2e3ed6a1 Remove dead code 2021-10-02 14:04:52 +01:00
gingerBill
21a06df5e1 Add alias for MJSON as Bitsquid 2021-10-02 14:04:41 +01:00
gingerBill
c04efe8762 Merge pull request #1204 from Airbus5717/master
fix Specification link in readme
2021-10-02 11:28:15 +01:00
Airbus5717
41071ee351 fix Specification link in readme 2021-10-02 13:26:33 +03:00
gingerBill
594049027b Merge branch 'master' of https://github.com/odin-lang/Odin 2021-10-02 01:13:35 +01:00
gingerBill
b1ea291942 Fix typos 2021-10-02 01:13:28 +01:00
Jeroen van Rijn
254c504465 Merge pull request #1199 from Skytrias/master
small package fixes
2021-10-01 12:15:33 -07:00
gingerBill
d32d1b7e07 Add reflect.set_union_value dev-2021-10 2021-09-30 12:04:27 +01:00
gingerBill
cf94fd7b82 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-30 11:46:02 +01:00
gingerBill
6ca793f0e9 Remove deprecation from the build specific procedures 2021-09-30 11:45:56 +01:00
skytrias
9ceb6b79fd small package fixes 2021-09-29 21:47:36 +02:00