当前位置: 首页>>代码示例>>C++>>正文


C++ IGNORE函数代码示例

本文整理汇总了C++中IGNORE函数的典型用法代码示例。如果您正苦于以下问题:C++ IGNORE函数的具体用法?C++ IGNORE怎么用?C++ IGNORE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了IGNORE函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: IGNORE

/*ARGSUSED*/ void REGALWRATH_GLU_CALL glu_wrath_gl_noBeginData( WRATH_GLUenum type, int winding_number, 
                                                               void *polygonData ) 
{
  IGNORE(polygonData);
  IGNORE(type); 
  IGNORE(winding_number); 
}
开发者ID:nomovok-opensource,项目名称:wrath,代码行数:7,代码来源:tess.cpp

示例2: delete_qso

void delete_qso(void) {

    int x;
    struct stat statbuf;
    int lfile;
    char logline[100];
    char call[15], bandmode[6];

    mvprintw(13, 29, "OK to delete last qso (y/n)?");
    x = key_get();

    if ((x == 'y') || (x == 'Y')) {

	if ((lfile = open(logfile, O_RDWR)) < 0) {

	    TLF_LOG_WARN("I can not find the logfile...");
	} else {

	    fstat(lfile, &statbuf);

	    if (statbuf.st_size >= LOGLINELEN) {
		if (qtcdirection > 0) {
		    // read band, mode and call from last QSO line
		    lseek(lfile, ((int)statbuf.st_size - LOGLINELEN), SEEK_SET);
		    IGNORE(read(lfile, logline, LOGLINELEN - 1));;

		    g_strlcpy(bandmode, logline, 6);
		    g_strlcpy(call, logline + 29, 15);
		    g_strchomp(call);

		    // delete QTC's for that combination of band, mode and call
		    delete_last_qtcs(call, bandmode);
		}
		IGNORE(ftruncate(lfile, statbuf.st_size - LOGLINELEN));
	    }

	    fsync(lfile);
	    close(lfile);

	    if (qsos[nr_qsos][0] != ';') {
		band_score[bandinx]--;
		qsonum--;
		qsonr_to_str();
	    }

	    nr_qsos--;
	    qsos[nr_qsos][0] = '\0';
	}

	scroll_log();

    }

    attron(COLOR_PAIR(C_LOG) | A_STANDOUT);
    mvprintw(13, 29, "                            ");

    printcall();

    clear_display();
}
开发者ID:Tlf,项目名称:tlf,代码行数:60,代码来源:deleteqso.c

示例3: ctrl_semihosting_getthumbswi

static int
ctrl_semihosting_getthumbswi(p_Buffer * buffer, void *stateptr)
{
#ifdef ICEMAN2

    /* Reads the value of the semi-hosting vector. */
    int debugID, OSinfo1, OSinfo2, subreason;
    word semihosting_thumbswi, status;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason);

    status = angelOS_SemiHosting_GetThumbSWI(OSinfo1, OSinfo2,
             &semihosting_thumbswi);

    LogInfo(LOG_CTRL, ("ctrl_semihosting_getthumbswi -> %08x\n",
                       semihosting_thumbswi));

    return msgsend(CI_HADP, "%w%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_SemiHosting_GetThumbSWI,
                   status, semihosting_thumbswi);

#else
    IGNORE(buffer);
    IGNORE(stateptr);
    LogInfo(LOG_CTRL, ( "ctrl_semihosting_getthumbswi - unsupported\n"));
    return -1;
#endif
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:32,代码来源:ctrl.c

示例4: ctrl_settopmem

static int
ctrl_settopmem(p_Buffer * buffer, void *stateptr)
{
#ifdef ICEMAN2

    /* Set the top of memory we report on a HEAPINFO SWI */
    int debugID, OSinfo1, OSinfo2, subreason;
    word topmem;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason, &topmem);
    LogInfo(LOG_CTRL, ( "ctrl_settopmem(topmem = 0x%x)\n", topmem));

    angel_SetTopMem((unsigned)topmem);

    return msgsend(CI_HADP, "%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_SetTopMem, RDIError_NoError);

#else
    IGNORE(buffer);
    IGNORE(stateptr);
    return -1;
#endif
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:27,代码来源:ctrl.c

示例5: IGNORE

/*ARGSUSED*/ void REGALFASTUIDRAW_GLU_CALL glu_fastuidraw_gl_noBeginData( FASTUIDRAW_GLUenum type, int winding_number,
                                                               void *polygonData )
{
  IGNORE(polygonData);
  IGNORE(type);
  IGNORE(winding_number);
}
开发者ID:cjcappel,项目名称:fastuidraw,代码行数:7,代码来源:tess.cpp

示例6: test_bad_write

/* Callbacks for the write function. */
static enum status test_bad_write(void * param, const void * src, size_t len) {
  IGNORE(param);
  IGNORE(src);
  IGNORE(len);

  return status_err;
}
开发者ID:sw17ch,项目名称:inversion_demo,代码行数:8,代码来源:test.c

示例7: ctrl_semihosting_setarmswi

static int
ctrl_semihosting_setarmswi(p_Buffer * buffer, void *stateptr)
{
#ifdef ICEMAN2

    /* Set the semi-hosting ARM SWI. */
    int debugID, OSinfo1, OSinfo2, subreason;
    word semihosting_armswi, status;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason, &semihosting_armswi);

    LogInfo(LOG_CTRL, ( "ctrl_semihosting_setarmswi(swi 0x%x)\n", semihosting_armswi));

    status = angelOS_SemiHosting_SetARMSWI(OSinfo1, OSinfo2,
                                           semihosting_armswi);

    return msgsend(CI_HADP, "%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_SemiHosting_SetARMSWI, status);

#else
    IGNORE(buffer);
    IGNORE(stateptr);
    LogInfo(LOG_CTRL, ( "ctrl_semihosting_setarmswi -> unsupported\n"));
    return -1;
#endif
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:30,代码来源:ctrl.c

示例8: fbdev_lcd_crtc_mode_set

static void fbdev_lcd_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, DisplayModePtr adjusted_mode, int x, int y)
{
	IGNORE( crtc );
	IGNORE( mode );
	IGNORE( adjusted_mode );
	IGNORE( x );
	IGNORE( y );
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c

示例9: fbdev_lcd_crtc_mode_fixup

static Bool fbdev_lcd_crtc_mode_fixup(xf86CrtcPtr crtc, DisplayModePtr mode, DisplayModePtr adjusted_mode)
{
	IGNORE( crtc );
	IGNORE( mode );
	IGNORE( adjusted_mode );

	return TRUE;
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c

示例10: maliSolid

static void maliSolid(PixmapPtr pPixmap, int x1, int y1, int x2, int y2)
{
	IGNORE(pPixmap);
	IGNORE(x1);
	IGNORE(y1);
	IGNORE(x2);
	IGNORE(y2);
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:8,代码来源:mali_exa.c

示例11: fbdev_lcd_output_mode_fixup

static Bool fbdev_lcd_output_mode_fixup(xf86OutputPtr output, DisplayModePtr mode, DisplayModePtr adjusted_mode)
{
	IGNORE( output );
	IGNORE( mode );
	IGNORE( adjusted_mode );

	return TRUE;
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c

示例12: fbdev_lcd_crtc_gamma_set

static void fbdev_lcd_crtc_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue, int size)
{
	IGNORE( crtc );
	IGNORE( red );
	IGNORE( green );
	IGNORE( blue );
	IGNORE( size );
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c

示例13: angel_NodevIntHandler

/*
 *  Function: angel_NodevIntHandler
 *   Purpose: Place-holding interrupt function that reports an error
 *
 *    Params: As described in devdriv.h
 *
 *   Returns: This routine does not return
 */
void 
angel_NodevIntHandler(unsigned int ident, unsigned int data,
                      unsigned int empty_stack)
{
    IGNORE(data);
    IGNORE(empty_stack);

    LogError(LOG_DEVMISC, ( "NodevIntHandler called: ident %d\n", ident));
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:17,代码来源:devmisc.c

示例14: maliPrepareSolid

static Bool maliPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
{
	IGNORE(pPixmap);
	IGNORE(alu);
	IGNORE(planemask);
	IGNORE(fg);

	return FALSE;
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:9,代码来源:mali_exa.c

示例15: maliCheckComposite

static Bool maliCheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, PicturePtr pDstPicture)
{
	IGNORE(op);
	IGNORE(pSrcPicture);
	IGNORE(pMaskPicture);
	IGNORE(pDstPicture);

	return FALSE;
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:9,代码来源:mali_exa.c


注:本文中的IGNORE函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。