翻訳と辞書
Words near each other
・ Swiftsure (brig)
・ Swiftsure Yacht Race
・ Swiftsure-class battleship
・ Swiftsure-class ironclad
・ Swiftsure-class ship of the line
・ Swiftsure-class submarine
・ Swiftwater Covered Bridge
・ Swiftwater Inn
・ Swiftwater Township, Lake of the Woods County, Minnesota
・ Swiftwater, Mississippi
・ Swiftwater, Pennsylvania
・ Swiftweasel
・ Swifty
・ Swiftype
・ Swift–Hohenberg equation
SWIG
・ Swig
・ Swig Program in Jewish Studies and Social Justice
・ Swigart's Mill
・ Swiggy
・ Swihart velocity
・ Swikee
・ Swiki
・ Swiks
・ Swilcan Bridge
・ Swildon's Hole
・ Swilers RFC
・ Swilgate
・ Swill
・ Swill (album)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

SWIG : ウィキペディア英語版
SWIG

Simplified Wrapper and Interface Generator (SWIG) is an open-source software tool used to connect computer programs or libraries written in C or C++ with scripting languages such as Lua, Perl, PHP, Python, R, Ruby, Tcl, and other languages like C#, Java, JavaScript, Go, Modula-3, OCaml, Octave, Scilab and Scheme. Output can also be in the form of XML or Lisp S-expressions.
==Function==
The aim is to allow the calling of native functions (that were written in C or C++) by other programming languages, passing complex data types to those functions, keeping memory from being inappropriately freed, inheriting object classes across languages, etc. The programmer writes an interface file containing a list of C/C++ functions to be made visible to an interpreter. SWIG will compile the interface file and generate code in regular C/C++ and the target programming language. SWIG will generate conversion code for functions with simple arguments; conversion code for complex types of arguments must be written by the programmer. The SWIG tool creates source code that provides the glue between C/C++ and the target language. Depending on the language, this glue comes in two forms:
*a shared library that an extant interpreter can link to as some form of extension module, or
*a shared library that can be linked to other programs compiled in the target language (for example, using Java Native Interface (JNI) in Java).
SWIG is not used for calling interpreted functions by native code; this must be done by the programmer manually.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「SWIG」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.