Rearrange ext folder

This commit is contained in:
Joey Yakimowich-Payne 2018-06-23 13:33:19 +09:00
commit 70b68f5f9a
4 changed files with 2 additions and 3 deletions

View file

@ -1,3 +1,2 @@
--path="../../src" --path="../../src"
--path="../../ext"
--os="nintendoswitch" --os="nintendoswitch"

View file

@ -164,7 +164,7 @@ replace.uint64 = "uint64_t* = uint64"
search.import = "type\n" search.import = "type\n"
prepend.import = """ prepend.import = """
include integer128 include libnx/ext/integer128
template BIT*(n): auto = (1.uint shl n) template BIT*(n): auto = (1.uint shl n)
""" """

View file

@ -1,7 +1,7 @@
import strutils import strutils
import ospaths import ospaths
const headertypes = currentSourcePath().splitPath().head & "/nx/include/switch/types.h" const headertypes = currentSourcePath().splitPath().head & "/nx/include/switch/types.h"
include integer128 include libnx/ext/integer128
template BIT*(n): auto = (1.uint shl n) template BIT*(n): auto = (1.uint shl n)
type type
u8* = uint8 u8* = uint8