m_host.h

来自「basic.c */ /**//* Project:NeuroBasic, b」· C头文件 代码 · 共 72 行

H
72
字号
/****************************************************************//*								*//* Name:	m_host.h					*//*								*//* Project:	NeuroBasic, simple simulator			*//*								*//* Survey:	This header file is only for the simple simula-	*//*		tor version of NeuroBasic! It is a striped	*//*		single-file version of the m_host.h file of	*//*		MUSIC development environment. See the		*//*		original file for detailed comments.		*//*								*//* Author:	Urs Mueller					*//*		Electronics Laboratory, ETH Zuerich		*//*		Switzerland					*//*								*//* Created:	July 31, 1994					*//* Modified:	July 31, 1994 (um)				*//*								*//****************************************************************/#ifndef __M_HOST_H#define __M_HOST_H#include <limits.h>#define MINT      long			/* must be 32 bit */#define UMINT     unsigned long		/* must be 32 bit */#define MFLOAT    float			/* must be 32 bit */#define MINT_MIN  LONG_MIN#define MINT_MAX  LONG_MAX#ifndef TRUE#define TRUE 1#endif#ifndef FALSE#define FALSE 0#endif#ifndef MIN#define MIN(a, b)	((a < b) ? a : b)#endif#ifndef MAX#define MAX(a, b)	((a < b) ? b : a)#endifextern MINT NumDSPs;extern MINT NumDSPs_available;extern MINT __Mretcode;#define MCALL __Mretcode =int INIT_MUSIC(void);void EXIT_MUSIC(void);int BOOT_DSPs ( char *filename );void SET_NumDSPs(MINT n);MINT M_BUSY(void);MINT WAIT_FCT(void);void Wr_to_music ( void *p, MINT size );void Rd_from_music ( void *p, MINT size );void Rd_from_DSP ( MINT DSPnr, void *p, long size );void Wr_to_DSPs ( void *p, long size );void Write_rasterfile24 (char *filename, MINT w, MINT h, MINT *image);void XV_rasterfile ( char *Ras_filename );#endif /* __M_HOST_H */

⌨️ 快捷键说明

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