mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Auto-generate some documentation
This commit is contained in:
parent
117d0111ab
commit
13437dd19b
97 changed files with 2033 additions and 661 deletions
|
@ -2,6 +2,9 @@
|
|||
#define COSMOPOLITAN_LIBC_NT_THUNK_MSABI_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
#if !defined(__STRICT_ANSI__) && \
|
||||
(__GNUC__ * 100 + __GNUC_MINOR__ >= 408 || \
|
||||
(__has_attribute(__ms_abi__) || defined(__llvm__)))
|
||||
/**
|
||||
* Defines function as using Microsoft x64 calling convention.
|
||||
*
|
||||
|
@ -9,13 +12,10 @@
|
|||
* generate code that calls MS ABI functions directly, without needing
|
||||
* to jump through the assembly thunks.
|
||||
*/
|
||||
#if !defined(__STRICT_ANSI__) && \
|
||||
(__GNUC__ * 100 + __GNUC_MINOR__ >= 408 || \
|
||||
(__has_attribute(__ms_abi__) || defined(__llvm__)))
|
||||
#define __msabi __attribute__((__ms_abi__))
|
||||
#endif
|
||||
|
||||
/**
|
||||
/*
|
||||
* Returns true if header should provide MS-ABI overrides.
|
||||
*/
|
||||
#ifndef ShouldUseMsabiAttribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue