extStdCode for ver.
extStdCode は、限定的な簡易 FFI のサンプルプログラムで使用する 動的ライブラリファイルです。 使用方法は、ワード get-std-code ならびに exec のワードリファレンスを 参照して下さい。 C で記述された関数を Paraphrase で使用する場合に参考にして下さい。
標準コード(StdCode)として認められる形式は以下のものとなります:
#ifdef _MSVC_LANG
#pragma comment(lib,"libPP.lib")
#endif
#include "externals.h"
#include "typedValue.h"
#include "stack.h"
#include "word.h"
#include "context.h"
#include "inner.h"
extern "C" PP_API bool yourStdFunctionName(Context& inContext ) {
// your std-function body
return true;
}