mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
shuffle to private/public wrapper
This commit is contained in:
@@ -127,7 +127,8 @@ get_page_size :: proc() -> int {
|
||||
return page_size
|
||||
}
|
||||
|
||||
get_processor_thread_count :: proc() -> int {
|
||||
@(private)
|
||||
_processor_core_count :: proc() -> int {
|
||||
length : c.int = 0
|
||||
result := win32.GetLogicalProcessorInformation(nil, &length)
|
||||
|
||||
@@ -149,7 +150,6 @@ get_processor_thread_count :: proc() -> int {
|
||||
return thread_count
|
||||
}
|
||||
|
||||
|
||||
exit :: proc "contextless" (code: int) -> ! {
|
||||
runtime._cleanup_runtime_contextless()
|
||||
win32.ExitProcess(win32.DWORD(code))
|
||||
|
||||
Reference in New Issue
Block a user