Skip to content

how to pass a string to python-wamr ? #4016

Open
@Huangxiaoze

Description

@Huangxiaoze

Hi, all

I wanted to call a C function as below in wasm

void hello(char *name) { printf("Hello, %s\n", name); }

My question is how can I invoke the hello function with wasm-c-api?

I would appreciate it if you can answer my question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions