イフコンピュータ > IF/Prolog > マニュアル > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > OSF/Motifインタフェースマニュアル > Motif IF/Prologの拡張 > Motif IF/PrologへのWidgetsの追加 > 新しいwidgetを追加するための作業 > 外部関数の述語としての実現 > C言語のクラスパラメータ

C言語のクラスパラメータ

IF/Prolog by Siemens
MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

widgetクラスがC述語のパラメータでなければならない場合、Prologのクラス名からtoolkitクラスポインタへの変換がなされます。これは、Cにより次のように呼び出すことにより行なわれます。

WidgetClass IFXtPCCvtWidgetClass (value, counter) TERM value; unsigned int **counter;

この関数は、widgetクラスとポインタをIFXtclasses[]のIFXtshellclasses[]表なかのカウンタ変数に戻します

document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/osf_motif/motifext/adwidget/incneww/impextf/classp/print_jp.html
published 2008/9/8 update 1994/7/25 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
戻る> managed with ubiCMS