示例#1
0
文件: inkeyapi.c 项目: xharbour/core
int  hb_inkeySetLast( int iKey )
{
   PHB_GT pGT;

   HB_TRACE( HB_TR_DEBUG, ( "hb_inkeySetLast(%d)", iKey ) );

   pGT = hb_gt_Base();
   return pGT ? HB_GTSELF_INKEYSETLAST( pGT, iKey ) : 0;
}
示例#2
0
文件: inkeyapi.c 项目: Andygon/core
int hb_inkeySetLast( int iKey )
{
   int iLast = 0;
   PHB_GT pGT;

   HB_TRACE( HB_TR_DEBUG, ( "hb_inkeySetLast(%d)", iKey ) );

   pGT = hb_gt_Base();
   if( pGT )
   {
      iLast = HB_GTSELF_INKEYSETLAST( pGT, iKey );
      hb_gt_BaseFree( pGT );
   }
   return iLast;
}