Skip to content

C language encapsulation #41

Description

@yangyang233333

Hello, may I ask if this library supports encapsulating the C language? For example, how can the following code be packaged using fastffi?

// func.h 
extern "C" {
extern int func(int **matrix, int n);
};

// func.cpp
int func (int ** matrix, int n) {
    // do xxx
    return sum;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions