From 2fc7517d700e6d772d98b47f179e4bb44638919e Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 30 Sep 2024 21:10:00 +0200 Subject: dom: optimize element size, remove importc hack & dead code This switches CAtom to uint32; it seems better to use the same size on all platforms. --- src/html/catom.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/html/catom.nim') diff --git a/src/html/catom.nim b/src/html/catom.nim index 3590bc63..93fbafcb 100644 --- a/src/html/catom.nim +++ b/src/html/catom.nim @@ -124,7 +124,7 @@ static: doAssert (CAtomFactoryStrMapLength and (CAtomFactoryStrMapLength - 1)) == 0 type - CAtom* = distinct int + CAtom* = distinct uint32 CAtomFactoryInit = object obj: CAtomFactoryObj -- cgit 1.4.1-2-gfad0