nitc $ ExternObjCFile :: SELF
Type of this instance, automatically specialized in every classnitc $ ExternObjCFile :: makefile_rule_content
The content of the rule in the makenitc $ ExternObjCFile :: makefile_rule_name
The name of the target in the Makefilenitc :: ExternFile :: _filename
Filename relative to the nit-compile foldernitc :: ExternFile :: _pkgconfigs
Additional libraries needed for the compilationnitc :: ExternFile :: add_to_jar
Isself
a Java file to include in the JAR archive?
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: ExternFile :: compile
Compile this source filenitc :: ExternFile :: compiles_to_o_file
nitc :: ExternObjCFile :: defaultinit
nitc :: ExternFile :: defaultinit
core :: Object :: defaultinit
nitc :: ExternFile :: filename=
Filename relative to the nit-compile foldercore :: 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 :: ExternFile :: makefile_rule_content
The content of the rule in the makenitc :: ExternFile :: makefile_rule_name
The name of the target in the Makefilecore :: 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).nitc :: ExternFile :: pkgconfigs
Additional libraries needed for the compilationnitc :: ExternFile :: pkgconfigs=
Additional libraries needed for the compilation
# A Objective-C file
class ExternObjCFile
super ExternFile
# Associated `MModule`
var mmodule: MModule
redef fun makefile_rule_name do return "{filename.basename(".m")}_m.o"
redef fun makefile_rule_content do
return "clang $(CFLAGS) -c {filename} -o {makefile_rule_name}"
end
redef fun compiles_to_o_file do return true
end
src/ffi/objc.nit:163,1--175,3