xlong.c

来自「AutoCAD DWG-file viewer」· C语言 代码 · 共 47 行

C
47
字号
/****************************************************************/
/*			COPYRIGHT NOTICE			*/
/*			----------------			*/
/*  All software in this listing remain the strict copyright	*/
/*  of Ilija Kovacevic and cannot be copied or used in any way	*/
/*  except by written permission of Ilija Kovacevic.		*/
/*								*/
/*	Copyright (c) 1992 Ilija Kovacevic			*/
/*	www.kov.com   email ilija@kov.com			*/
/****************************************************************/

PUBLIC XLong *XLong__create( void )

{
return( ( XLong * )get_memory( sizeof( XLong ) ) );
}


PUBLIC void XLong__delete( XLong *me )

{
free( ( char * )me );
}


PUBLIC void XLong__read( XLong *me )

{
get_INT32( &me->long_integer );
me->size = sizeof( me->long_integer );
}


PUBLIC void XLong__dxfout( XLong *me  )

{
dxf_INT32( 1071,me->long_integer );
}


PUBLIC void XLong__dump_to_debug_file( XLong *me  )

{
dprintf( "\t\tlong integer %lxH\n",me->long_integer );
}

⌨️ 快捷键说明

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