这是示例代码:
typedef struct
{
char symname[DLL_MAX_SYMNAME_LEN]; // Symbol name char
filename[DLL_MAX_FILENAME_LEN]; // File name from which the
// symbol comes
unsigned int vaddr; // Exact address of nearest symbol
} dll_sym_info_t;
extern void sbblink_write_one_frame(u8 In,u8 F,u8 Ph,u8 Sub,u8 Ch,u8 S,u8 T, u8 P);
const char * str_sbblink_write_OP_frame_channels = "sbblink_write_one_frame";
void (*fun_sbblink_write_OP_frame_channels) (u8 In,u8 Fpga,u8 InSlot,u8 SubCh,u8 Chan,u8 Size,u8 Type,u8 Print);
.
.
fun_sbblink_write_OP_frame_channels = (void (*) (u8,u8,u8,u8,u8,u8,u8,u8))sym.vaddr;
.
.
fun_sbblink_write_OP_frame_channels (0,SBBL_FLINK,PhSlotRRH,i,0,0,0,0);
但即使是错误:
error: too few arguments to function 'fun_sbblink_write_OP_frame_channels'
请帮我解决一下这个。
谢谢,