mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
Improved CI and enhanced project cosmetics (proper license header and include guards)
This commit is contained in:
@@ -1,9 +1,27 @@
|
||||
// [AsmJit]you want
|
||||
// Machine Code Generation for C++.
|
||||
// AsmJit - Machine code generation for C++
|
||||
//
|
||||
// [License]
|
||||
// Zlib - See LICENSE.md file in the package.
|
||||
// * Official AsmJit Home Page: https://asmjit.com
|
||||
// * Official Github Repository: https://github.com/asmjit/asmjit
|
||||
//
|
||||
// Copyright (c) 2008-2020 The AsmJit Authors
|
||||
//
|
||||
// This software is provided 'as-is', without any express or implied
|
||||
// warranty. In no event will the authors be held liable for any damages
|
||||
// arising from the use of this software.
|
||||
//
|
||||
// Permission is granted to anyone to use this software for any purpose,
|
||||
// including commercial applications, and to alter it and redistribute it
|
||||
// freely, subject to the following restrictions:
|
||||
//
|
||||
// 1. The origin of this software must not be misrepresented; you must not
|
||||
// claim that you wrote the original software. If you use this software
|
||||
// in a product, an acknowledgment in the product documentation would be
|
||||
// appreciated but is not required.
|
||||
// 2. Altered source versions must be plainly marked as such, and must not be
|
||||
// misrepresented as being the original software.
|
||||
// 3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// This is a working example that demonstrates how multiple sections can be
|
||||
// used in a JIT-based code generator. It shows also the necessary tooling
|
||||
// that is expected to be done by the user when the feature is used. It's
|
||||
@@ -14,6 +32,7 @@
|
||||
// all links were resolved.
|
||||
// - Relocate the code
|
||||
// - Copy the code to the destination address.
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#include <asmjit/x86.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user