nitc :: NitniCallback :: compile_callback_to_java
Compile C and Java code to implement this callbacknitc :: NitniCallback :: compile_callback_to_objc
Compile this callback to be callable from Objective-Cnitc :: NitniCallback :: defaultinit
nitc :: NitniCallback :: jni_methods_declaration
Returns the list of C functions to link with extern Java methods, as requirednitc $ NitniCallback :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: NitniCallback :: compile_callback_to_java
Compile C and Java code to implement this callbacknitc :: NitniCallback :: compile_callback_to_objc
Compile this callback to be callable from Objective-Cnitc :: NitniCallback :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitc :: NitniCallback :: jni_methods_declaration
Returns the list of C functions to link with extern Java methods, as requiredcore :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).import
keyword
nitc :: MErrorType
A special type used as a silent error marker when building types.
# Classification for all nitni callbacks
interface NitniCallback
end
src/nitni/nitni_callbacks.nit:156,1--158,3
redef class NitniCallback
fun compile_callback_to_c(mmodule: MModule, ffi_ccu: CCompilationUnit) do end
end
src/ffi/c.nit:30,1--32,3
redef class NitniCallback
fun compile_callback_to_cpp(mmodule: MModule, mainmodule: MModule) do end
end
src/ffi/cpp.nit:194,1--196,3
redef class NitniCallback
# Compile this callback to be callable from Objective-C
fun compile_callback_to_objc(mmodule: MModule, mainmodule: MModule) do end
end
src/ffi/objc.nit:185,1--188,3
redef class NitniCallback
# Compile C and Java code to implement this callback
fun compile_callback_to_java(mmodule: MModule, mainmodule: MModule, ccu: CCompilationUnit) do end
# Returns the list of C functions to link with extern Java methods, as required
# to enable this callback from Java code.
#
# Return used by `MModule::ensure_linking_callback_methods`
#
# TODO we return an Array to support cast and other features like that
fun jni_methods_declaration(from_module: MModule): Array[String] do return new Array[String]
end
src/ffi/java.nit:500,1--511,3