示例#1
0
extern char *FEExtName( CGSYM_HANDLE sym_handle, int request )
/************************************************************/
{
    switch( request ) {
    case EXTN_BASENAME:
        return( GetBaseName( sym_handle ) );
    case EXTN_PATTERN:
        return( GetNamePattern( sym_handle ) );
    case EXTN_PRMSIZE:
        return( (char *)GetParmsSize( sym_handle ) );
    default:
        return( NULL );
    }
}
示例#2
0
const char *FEExtName( CGSYM_HANDLE sym_handle, int request )
/***********************************************************/
{
    switch( request ) {
    case EXTN_BASENAME:
        return( GetBaseName( (SYM_HANDLE)sym_handle ) );
    case EXTN_PATTERN:
        return( GetNamePattern( (SYM_HANDLE)sym_handle ) );
    case EXTN_PRMSIZE:
        return( (const char *)(pointer_int)GetParmsSize( (SYM_HANDLE)sym_handle ) );
    case EXTN_CALLBACKNAME:
    default:
        return( NULL );
    }
}