📄 xbrace.c
字号:
/****************************************************************/
/* 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 XBrace *XBrace__create( void )
{
return( ( XBrace * )get_memory( sizeof( XBrace ) ) );
}
PUBLIC void XBrace__delete( XBrace *me )
{
free( ( char * )me );
}
PUBLIC void XBrace__read( XBrace *me )
{
get_UINT8( &me->brace_type );
me->size = sizeof( me->brace_type );
}
PUBLIC void XBrace__dxfout( XBrace *me )
{
if ( me->brace_type EQ 0 )dxf_string( 1002,"{" );
else dxf_string( 1002,"}" );
}
PUBLIC void XBrace__dump_to_debug_file( XBrace *me )
{
dprintf( "\t\tbrace = " );
if ( me->brace_type EQ 0 )dprintf( "{\n" );
else dprintf( "}\n" );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -