napi\_module结构体字段描述解析
=====================

关于napi\_module\_register(napi\_module\* mod)方法的入参napi\_module有两个关键属性：一个是.nm\_register\_func，定义模块初始化函数；另一个是.nm\_modname，定义模块的名称，也就是ArkTS侧引入的so库的名称，模块系统会根据此名称来区分不同的so。napi\_module字段的详细描述如下：

static napi\_module demoModule = {
    .nm\_version = 1,            _ // nm Version number, default value is 1_
    .nm\_flags = 0,             _  // nm Identifier_
    .nm\_filename = nullptr,     _ // File name, don't pay attention to it for now, just use the default value_
    .nm\_register\_func = Init,   _ // Specify the entrance function for nm_
    .nm\_modname = "entry",     _  // Specify the module name to import from the ArkTS page_
    .nm\_priv = ((void\*)0),      _ // Don't follow for now, just use the default settings_
    .reserved = { 0 },           _// Don't pay attention for now, just use the default value_
};