com.alibaba.fastffi.clang.TemplateSpecializationKind_Library_cxx_0xde154a8a Maven / Gradle / Ivy
The newest version!
package com.alibaba.fastffi.clang;
import com.alibaba.fastffi.CXXValue;
import com.alibaba.fastffi.FFIExpr;
import com.alibaba.fastffi.FFIGetter;
import com.alibaba.fastffi.FFISynthetic;
import com.alibaba.fastffi.FFITypeFactory;
import java.lang.UnsatisfiedLinkError;
@FFISynthetic("com.alibaba.fastffi.clang.TemplateSpecializationKind.Library")
public class TemplateSpecializationKind_Library_cxx_0xde154a8a implements TemplateSpecializationKind.Library {
public static final TemplateSpecializationKind.Library INSTANCE;
static {
try {
System.loadLibrary("llvm4jni");
} catch (UnsatisfiedLinkError e) {
System.load(FFITypeFactory.findNativeLibrary(TemplateSpecializationKind_Library_cxx_0xde154a8a.class, "llvm4jni"));
}
}
static {
INSTANCE = new TemplateSpecializationKind_Library_cxx_0xde154a8a();
}
public TemplateSpecializationKind_Library_cxx_0xde154a8a() {
}
@FFIGetter
public int TSK_ExplicitInstantiationDeclaration() {
return native_TSK_ExplicitInstantiationDeclaration();
}
@FFIGetter
public static native int native_TSK_ExplicitInstantiationDeclaration();
@FFIGetter
public int TSK_ExplicitInstantiationDefinition() {
return native_TSK_ExplicitInstantiationDefinition();
}
@FFIGetter
public static native int native_TSK_ExplicitInstantiationDefinition();
@FFIGetter
public int TSK_ExplicitSpecialization() {
return native_TSK_ExplicitSpecialization();
}
@FFIGetter
public static native int native_TSK_ExplicitSpecialization();
@FFIGetter
public int TSK_ImplicitInstantiation() {
return native_TSK_ImplicitInstantiation();
}
@FFIGetter
public static native int native_TSK_ImplicitInstantiation();
@FFIGetter
public int TSK_Undeclared() {
return native_TSK_Undeclared();
}
@FFIGetter
public static native int native_TSK_Undeclared();
@FFIExpr("clang::isTemplateExplicitInstantiationOrSpecialization({1})")
public boolean isTemplateExplicitInstantiationOrSpecialization(
@CXXValue TemplateSpecializationKind kind) {
return nativeIsTemplateExplicitInstantiationOrSpecialization(kind.getValue());
}
@FFIExpr("clang::isTemplateExplicitInstantiationOrSpecialization({1})")
public static native boolean nativeIsTemplateExplicitInstantiationOrSpecialization(int kind0);
@FFIExpr("clang::isTemplateInstantiation({1})")
public boolean isTemplateInstantiation(@CXXValue TemplateSpecializationKind kind) {
return nativeIsTemplateInstantiation(kind.getValue());
}
@FFIExpr("clang::isTemplateInstantiation({1})")
public static native boolean nativeIsTemplateInstantiation(int kind0);
}