1 // AsmJit - Machine code generation for C++
2 //
3 //  * Official AsmJit Home Page: https://asmjit.com
4 //  * Official Github Repository: https://github.com/asmjit/asmjit
5 //
6 // Copyright (c) 2008-2020 The AsmJit Authors
7 //
8 // This software is provided 'as-is', without any express or implied
9 // warranty. In no event will the authors be held liable for any damages
10 // arising from the use of this software.
11 //
12 // Permission is granted to anyone to use this software for any purpose,
13 // including commercial applications, and to alter it and redistribute it
14 // freely, subject to the following restrictions:
15 //
16 // 1. The origin of this software must not be misrepresented; you must not
17 //    claim that you wrote the original software. If you use this software
18 //    in a product, an acknowledgment in the product documentation would be
19 //    appreciated but is not required.
20 // 2. Altered source versions must be plainly marked as such, and must not be
21 //    misrepresented as being the original software.
22 // 3. This notice may not be removed or altered from any source distribution.
23 
24 #ifndef ASMJIT_X86_X86CALLCONV_P_H_INCLUDED
25 #define ASMJIT_X86_X86CALLCONV_P_H_INCLUDED
26 
27 #include "../core/callconv.h"
28 
ASMJIT_BEGIN_SUB_NAMESPACE(x86)29 ASMJIT_BEGIN_SUB_NAMESPACE(x86)
30 
31 //! \cond INTERNAL
32 //! \addtogroup asmjit_x86
33 //! \{
34 
35 // ============================================================================
36 // [asmjit::x86::CallConvInternal]
37 // ============================================================================
38 
39 //! X86-specific function API (calling conventions and other utilities).
40 namespace CallConvInternal {
41 
42 //! Initialize `CallConv` structure (X86 specific).
43 Error init(CallConv& cc, uint32_t ccId, const Environment& environment) noexcept;
44 
45 } // {CallConvInternal}
46 
47 //! \}
48 //! \endcond
49 
50 ASMJIT_END_SUB_NAMESPACE
51 
52 #endif // ASMJIT_X86_X86CALLCONV_P_H_INCLUDED
53