init - 初始化项目
This commit is contained in:
17
modules/java/generator/templates/java_class.prolog
Normal file
17
modules/java/generator/templates/java_class.prolog
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// This file is auto-generated. Please don't modify it!
|
||||
//
|
||||
package org.opencv.$module;
|
||||
|
||||
$imports
|
||||
|
||||
$docs$annotation
|
||||
public class $jname {
|
||||
|
||||
protected final long nativeObj;
|
||||
protected $jname(long addr) { nativeObj = addr; }
|
||||
|
||||
public long getNativeObjAddr() { return nativeObj; }
|
||||
|
||||
// internal usage only
|
||||
public static $jname __fromPtr__(long addr) { return new $jname(addr); }
|
||||
Reference in New Issue
Block a user