1 #include <HashCode.oh>
2 
3 /* run-time meta data */
4 static RT0__ModuleDesc _mid;
5 RT0__StructDesc _td_HashCode__1534 = { (RT0__Struct[]){&RT0__char}, NULL, NULL, &_mid, NULL, 1, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
6 RT0__StructDesc _td_HashCode__1609 = { (RT0__Struct[]){&RT0__longchar}, NULL, NULL, &_mid, NULL, 2, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
7 RT0__StructDesc _td_HashCode__1688 = { (RT0__Struct[]){&RT0__ucs4char}, NULL, NULL, &_mid, NULL, 4, 1, (1<<RT0__flagAtomic), RT0__strOpenArray };
8 static RT0__ModuleDesc _mid = { (OOC_CHAR8*)"HashCode", (RT0__Struct[]) { NULL }, 0 };
9 
OOC_HashCode_open(RT0__Module client)10 extern void OOC_HashCode_open(RT0__Module client) {
11   if (_mid.openCount == 0) {
12     OOC_RT0_open(&_mid);
13 
14     RT0__RegisterModule(&_mid);
15     OOC_HashCode_init();
16   }
17   _mid.openCount++;
18 }
OOC_HashCode_close(RT0__Module client)19 extern void OOC_HashCode_close(RT0__Module client) {
20   _mid.openCount--;
21   if (_mid.openCount == 0) {
22     OOC_HashCode_destroy();
23     RT0__UnregisterModule(&_mid);
24 
25     OOC_RT0_close(&_mid);
26   }
27 }
28 
29 /* --- */
30