This is xcharstruct.c in view mode; [Download] [Up]
/* SCHEME->C */
#include <objects.h>
DEFSTRING( t1690,
"Argument not an unsigned 8-bit INTEGER: ~s", 42 );
DEFSTATICTSCP2( c1627, t1690 );
DEFSTRING( t1691, "INTEGER->CHAR", 13 );
DEFSTATICTSCP( c1626 );
DEFSTRING( t1692, "XCHARSTRUCTP", 12 );
DEFSTATICTSCP( c1598 );
static void init_constants()
{
c1626 = STRINGTOSYMBOL( U_TX( ADR( t1691 ) ) );
CONSTANTEXP( ADR( c1626 ) );
c1598 = STRINGTOSYMBOL( U_TX( ADR( t1692 ) ) );
CONSTANTEXP( ADR( c1598 ) );
}
DEFTSCP( harstruct_charstruct_d09cb75e_v );
DEFSTRING( t1693, "MAKE-XCHARSTRUCT", 16 );
EXTERNTSCPP( sc_cons );
EXTERNTSCP( sc_cons_v );
EXTERNTSCPP( sc_make_2dstring );
EXTERNTSCP( sc_make_2dstring_v );
EXTERNTSCPP( scrt2__3c_2dtwo );
EXTERNTSCP( scrt2__3c_2dtwo_v );
EXTERNTSCPP( scrt2__3e_2dtwo );
EXTERNTSCP( scrt2__3e_2dtwo_v );
EXTERNTSCPP( scrt6_error );
EXTERNTSCP( scrt6_error_v );
TSCP harstruct_charstruct_d09cb75e( )
{
TSCP X4, X3, X2, X1;
X3 = BOOLEAN( NEQ( TSCPTAG( _TSCP( 0 ) ), FIXNUMTAG ) );
if ( TRUE( X3 ) ) goto L1700;
if ( BITAND( BITOR( INT( _TSCP( 0 ) ),
INT( _TSCP( 0 ) ) ),
3 ) ) goto L1701;
X4 = BOOLEAN( LT( INT( _TSCP( 0 ) ),
INT( _TSCP( 0 ) ) ) );
goto L1702;
L1701:
X4 = scrt2__3c_2dtwo( _TSCP( 0 ), _TSCP( 0 ) );
L1702:
if ( TRUE( X4 ) ) goto L1700;
if ( BITAND( BITOR( INT( _TSCP( 0 ) ),
INT( _TSCP( 1020 ) ) ),
3 ) ) goto L1709;
if ( GT( INT( _TSCP( 0 ) ), INT( _TSCP( 1020 ) ) ) ) goto L1700;
goto L1716;
L1709:
if ( FALSE( scrt2__3e_2dtwo( _TSCP( 0 ), _TSCP( 1020 ) ) )
) goto L1716;
L1700:
scrt6_error( c1626,
c1627, CONS( _TSCP( 0 ), EMPTYLIST ) );
L1716:
X1 = sc_make_2dstring( _TSCP( 48 ),
CONS( FIX_CHAR( _TSCP( 0 ) ),
EMPTYLIST ) );
return( sc_cons( c1598, X1 ) );
}
DEFTSCP( harstruct_2dlbearing_63810f80_v );
DEFSTRING( t1717, "XCHARSTRUCT-LBEARING", 20 );
EXTERNTSCPP( scrt4_c_2dshortint_2dref );
EXTERNTSCP( scrt4_c_2dshortint_2dref_v );
EXTERNTSCPP( xlibtypes_chk_2dxcharstructp );
EXTERNTSCP( xlibtypes_chk_2dxcharstructp_v );
TSCP harstruct_2dlbearing_63810f80( x1630 )
TSCP x1630;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1630 );
return( scrt4_c_2dshortint_2dref( X1, _TSCP( 0 ) ) );
}
DEFTSCP( harstruct_bearing_21_275c895c_v );
DEFSTRING( t1719, "XCHARSTRUCT-LBEARING!", 21 );
EXTERNTSCPP( scrt4_c_2dshortint_2dset_21 );
EXTERNTSCP( scrt4_c_2dshortint_2dset_21_v );
TSCP harstruct_bearing_21_275c895c( x1633, y1634 )
TSCP x1633, y1634;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1633 );
return( scrt4_c_2dshortint_2dset_21( X1, _TSCP( 0 ), y1634 ) );
}
DEFTSCP( harstruct_2drbearing_ab02c99_v );
DEFSTRING( t1721, "XCHARSTRUCT-RBEARING", 20 );
TSCP harstruct_2drbearing_ab02c99( x1637 )
TSCP x1637;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1637 );
return( scrt4_c_2dshortint_2dref( X1, _TSCP( 8 ) ) );
}
DEFTSCP( harstruct_bearing_21_dbdc6691_v );
DEFSTRING( t1723, "XCHARSTRUCT-RBEARING!", 21 );
TSCP harstruct_bearing_21_dbdc6691( x1641, y1642 )
TSCP x1641, y1642;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1641 );
return( scrt4_c_2dshortint_2dset_21( X1, _TSCP( 8 ), y1642 ) );
}
DEFTSCP( harstruct_ct_2dwidth_9add5ff2_v );
DEFSTRING( t1725, "XCHARSTRUCT-WIDTH", 17 );
TSCP harstruct_ct_2dwidth_9add5ff2( x1645 )
TSCP x1645;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1645 );
return( scrt4_c_2dshortint_2dref( X1, _TSCP( 16 ) ) );
}
DEFTSCP( harstruct_2dwidth_21_a84f7510_v );
DEFSTRING( t1727, "XCHARSTRUCT-WIDTH!", 18 );
TSCP harstruct_2dwidth_21_a84f7510( x1649, y1650 )
TSCP x1649, y1650;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1649 );
return( scrt4_c_2dshortint_2dset_21( X1,
_TSCP( 16 ), y1650 ) );
}
DEFTSCP( harstruct_t_2dascent_2df7c397_v );
DEFSTRING( t1729, "XCHARSTRUCT-ASCENT", 18 );
TSCP harstruct_t_2dascent_2df7c397( x1653 )
TSCP x1653;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1653 );
return( scrt4_c_2dshortint_2dref( X1, _TSCP( 24 ) ) );
}
DEFTSCP( harstruct_dascent_21_e01c70ac_v );
DEFSTRING( t1731, "XCHARSTRUCT-ASCENT!", 19 );
TSCP harstruct_dascent_21_e01c70ac( x1657, y1658 )
TSCP x1657, y1658;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1657 );
return( scrt4_c_2dshortint_2dset_21( X1,
_TSCP( 24 ), y1658 ) );
}
DEFTSCP( harstruct__2ddescent_476a5744_v );
DEFSTRING( t1733, "XCHARSTRUCT-DESCENT", 19 );
TSCP harstruct__2ddescent_476a5744( x1661 )
TSCP x1661;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1661 );
return( scrt4_c_2dshortint_2dref( X1, _TSCP( 32 ) ) );
}
DEFTSCP( harstruct_descent_21_f4405b48_v );
DEFSTRING( t1735, "XCHARSTRUCT-DESCENT!", 20 );
TSCP harstruct_descent_21_f4405b48( x1665, y1666 )
TSCP x1665, y1666;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1665 );
return( scrt4_c_2dshortint_2dset_21( X1,
_TSCP( 32 ), y1666 ) );
}
DEFTSCP( harstruct_attributes_3100506c_v );
DEFSTRING( t1737, "XCHARSTRUCT-ATTRIBUTES", 22 );
EXTERNTSCPP( scrt4_c_2dshortunsigned_2dref );
EXTERNTSCP( scrt4_c_2dshortunsigned_2dref_v );
TSCP harstruct_attributes_3100506c( x1669 )
TSCP x1669;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1669 );
return( scrt4_c_2dshortunsigned_2dref( X1, _TSCP( 40 ) ) );
}
DEFTSCP( harstruct_ributes_21_203852e7_v );
DEFSTRING( t1739, "XCHARSTRUCT-ATTRIBUTES!", 23 );
EXTERNTSCPP( scrt4_d_2dset_21_828269c5 );
EXTERNTSCP( scrt4_d_2dset_21_828269c5_v );
TSCP harstruct_ributes_21_203852e7( x1673, y1674 )
TSCP x1673, y1674;
{
TSCP X1;
X1 = xlibtypes_chk_2dxcharstructp( x1673 );
return( scrt4_d_2dset_21_828269c5( X1, _TSCP( 40 ), y1674 ) );
}
static void init_modules( compiler_version )
char *compiler_version;
{
xlibtypes__init();
scrt4__init();
scrt6__init();
scrt2__init();
MAXDISPLAY( 0 );
}
void xcharstruct__init()
{
static int init = 0;
if (init) return;
init = 1;
INITHEAP( 0, 0, 0, 0 );
init_constants();
init_modules( "(xcharstruct SCHEME->C COMPILER 28sep90jfb)" );
INITIALIZEVAR( U_TX( ADR( t1693 ) ),
ADR( harstruct_charstruct_d09cb75e_v ),
MAKEPROCEDURE( 0,
0,
harstruct_charstruct_d09cb75e,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1717 ) ),
ADR( harstruct_2dlbearing_63810f80_v ),
MAKEPROCEDURE( 1,
0,
harstruct_2dlbearing_63810f80,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1719 ) ),
ADR( harstruct_bearing_21_275c895c_v ),
MAKEPROCEDURE( 2,
0,
harstruct_bearing_21_275c895c,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1721 ) ),
ADR( harstruct_2drbearing_ab02c99_v ),
MAKEPROCEDURE( 1,
0,
harstruct_2drbearing_ab02c99,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1723 ) ),
ADR( harstruct_bearing_21_dbdc6691_v ),
MAKEPROCEDURE( 2,
0,
harstruct_bearing_21_dbdc6691,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1725 ) ),
ADR( harstruct_ct_2dwidth_9add5ff2_v ),
MAKEPROCEDURE( 1,
0,
harstruct_ct_2dwidth_9add5ff2,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1727 ) ),
ADR( harstruct_2dwidth_21_a84f7510_v ),
MAKEPROCEDURE( 2,
0,
harstruct_2dwidth_21_a84f7510,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1729 ) ),
ADR( harstruct_t_2dascent_2df7c397_v ),
MAKEPROCEDURE( 1,
0,
harstruct_t_2dascent_2df7c397,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1731 ) ),
ADR( harstruct_dascent_21_e01c70ac_v ),
MAKEPROCEDURE( 2,
0,
harstruct_dascent_21_e01c70ac,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1733 ) ),
ADR( harstruct__2ddescent_476a5744_v ),
MAKEPROCEDURE( 1,
0,
harstruct__2ddescent_476a5744,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1735 ) ),
ADR( harstruct_descent_21_f4405b48_v ),
MAKEPROCEDURE( 2,
0,
harstruct_descent_21_f4405b48,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1737 ) ),
ADR( harstruct_attributes_3100506c_v ),
MAKEPROCEDURE( 1,
0,
harstruct_attributes_3100506c,
EMPTYLIST ) );
INITIALIZEVAR( U_TX( ADR( t1739 ) ),
ADR( harstruct_ributes_21_203852e7_v ),
MAKEPROCEDURE( 2,
0,
harstruct_ributes_21_203852e7,
EMPTYLIST ) );
return;
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.