Skip to content

does not recogize pointer to struct field of struct #10

@yakovzaytsev

Description

@yakovzaytsev
typedef struct _zend_function_entry {
	const char *fname;
	zif_handler handler;
	const struct _zend_internal_arg_info *arg_info;
	uint32_t num_args;
	uint32_t flags;
} zend_function_entry;

output is

pub struct _zend_function_entry {
    pub fname: *const c_char,
    pub handler: c_int,
    pub _zend_internal_arg_info: Type { kind: Record, display_name: "struct _zend_internal_arg_info" },
    pub arg_info: *mut c_void,
    pub num_args: c_int,
    pub flags: c_int,
}

_zend_internal_arg_info must be pointer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions