⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eic.h

📁 微软的基于HMM的人脸识别原代码, 非常经典的说
💻 H
字号:
/* eic.h
 *
 *	(C) Copyright May  7 1995, Edmond J. Breen.
 *		   ALL RIGHTS RESERVED.
 * This code may be copied for personal, non-profit use only.
 *
 */
#ifndef EICH_
#define EICH_


#if !defined(_eic_ptr) && !defined(_EiC)
#define _eic_ptr
typedef struct {void *p, *sp, *ep;} ptr_t;
#endif

#include <sys/types.h>
#include "eicval.h"


void *EiC_add_builtinfunc(char *name, val_t(*vfunc)(void));
void EiC_startEiC(int argc, char ** argv);
void EiC_init_EiC();
int  EiC_run(int argc, char **argv);
void EiC_parseString(char *, ...);
void EiC_callBack(void *code);

void EiC_setMessageDisplay(void (*)(char *));

extern void (*EiC_messageDisplay)(char *);


#define setArg(x,C,type,v)    do { code_t *c = C; \
                              *(type*)(&c->inst[c->nextinst - 5 - 2 * x].val) = v;} while(0)

extern val_t EiC_STaCK_VaLuE;

#define  EiC_ReturnValue(type)    (*(type*)&EiC_STaCK_VaLuE)


extern AR_t * AR[3];
extern size_t ARGC;

#define arg_list                  AR_t *
#define getargc()                 ARGC
#define getargs()                 AR[2]
#define nextarg(x,type)           (*((type*)&(--x)->v))
#define arg(i,x,type)             (*((type*)&x[-(i+1)].v))

#define malloc(x)	xmalloc(x)
#define calloc(x,y)	xcalloc(x,y)
#define free(x)		xfree(x)
#define realloc(x,y)    xrealloc(x,y)


#endif /* EICH_ */














⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -