Skip to content

Native Interoperability #63

@Tiaansu

Description

@Tiaansu

I am wondering if native interoperability is possible for this kind of native(s)?

native MyNative(id, output[], size = sizeof output, ...);
native MyNativeImpl(id, AmxString:output, size, ...) = MyNative;

stock String:MyNativeStr(Template:id, ...)
{    
    new String:output = str_new_buf(8192);
    MyNativeImpl(id, output, 8192, ...); // I know this is invalid
    return output;
}

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