• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/ucode/lib/ffi/NOTICE

  1 NOTICE - Third Party Attribution
  2 
  3 This module contains code derived from LuaJIT.
  4 
  5 ================================================================================
  6 
  7 LuaJIT FFI Implementation
  8 --------------------------
  9 
 10 Copyright (C) 2005-2025 Mike Pall
 11 
 12 Permission is hereby granted, free of charge, to any person obtaining a copy
 13 of this software and associated documentation files (the "Software"), to deal
 14 in the Software without restriction, including without limitation the rights
 15 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 16 copies of the Software, and to permit persons to whom the Software is
 17 furnished to do so, subject to the following conditions:
 18 
 19 The above copyright notice and this permission notice shall be included in all
 20 copies or substantial portions of the Software.
 21 
 22 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 23 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 24 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 25 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 26 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 27 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 28 SOFTWARE.
 29 
 30 ================================================================================
 31 
 32 Files Derived from LuaJIT
 33 -------------------------
 34 
 35 The following files contain derived work from LuaJIT's FFI implementation:
 36 
 37 - uc_cparse.c    - C declaration parser (adapted from LuaJIT's lj_cparse.c)
 38 - uc_ctype.c     - Type system management (adapted from LuaJIT's lj_ctype.c)
 39 - uc_cconv.c     - Value conversion machinery (adapted from LuaJIT's lj_cconv.c)
 40 - uc_cdata.c     - C data object handling (adapted from LuaJIT's lj_cdata.c)
 41 - include/uc_cparse.h  - C parser header
 42 - include/uc_ctype.h   - Type system header
 43 - include/uc_cconv.h   - Conversion header
 44 - include/uc_cdata.h   - C data header
 45 - include/uc_def.h     - Common definitions (adapted from LuaJIT's lj_def.h)
 46 
 47 ================================================================================
 48 
 49 Modifications
 50 -------------
 51 
 52 The LuaJIT FFI code has been adapted for use with the ucode virtual machine.
 53 Key modifications include:
 54 
 55 - LuaJIT's own call infrastructure has been replaced with libffi exclusively
 56 - Adapted VM interactions to use ucode's API (uc_vm_t, uc_value_t, etc.)
 57 - Removed JIT-specific code and dependencies
 58 - Consolidated library loading logic
 59 
 60 ================================================================================
 61 
 62 Additional Notices
 63 ------------------
 64 
 65 This module also depends on:
 66 
 67 - ucode (https://github.com/jow-/ucode)
 68   Copyright (C) 2020-2026 ucode contributors
 69   Licensed under the ISC License
 70 
 71 - libffi (https://github.com/libffi/libffi)
 72   Copyright (C) 1996-2024 Free Software Foundation, Inc.
 73   Licensed under the MIT License

This page was automatically generated by LXR 0.3.1.  •  OpenWrt