IF Computer > IF/Prolog > Manuals > 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_en.html
published 2008/6/30 update 1994/7/25 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS