Make static replacement cross platform
This commit is contained in:
parent
83499c04f9
commit
ca606c6ec1
1 changed files with 16 additions and 16 deletions
32
libnxGen.cfg
32
libnxGen.cfg
|
|
@ -98,28 +98,28 @@ replace.touch = "TouchPosition"
|
||||||
|
|
||||||
[ipc.h]
|
[ipc.h]
|
||||||
defines = true
|
defines = true
|
||||||
pipe = "vim -es +'g/^static inline.*{/norm f{d%r;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
|
|
||||||
[tls.h]
|
[tls.h]
|
||||||
pipe = "vim -es +'g/^static inline.*{/norm f{d%r;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
|
|
||||||
[sm.h]
|
[sm.h]
|
||||||
pipe = "vim -es +'g/^static inline.*{/norm f{d%r;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
|
|
||||||
[shmem.h]
|
[shmem.h]
|
||||||
pipe = "vim -es +'g/^static inline.*{/norm f{d%r;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
|
|
||||||
[condvar.h]
|
[condvar.h]
|
||||||
pipe = "vim -es +'g/^static inline.*/norm jd%$$a;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
|
|
||||||
[romfs_dev.h]
|
[romfs_dev.h]
|
||||||
pipe = "vim -es +'g/^static inline.*/norm jd%$$a;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
search = "romfs_"
|
search = "romfs_"
|
||||||
replace = "Romfs_"
|
replace = "Romfs_"
|
||||||
|
|
||||||
[gfx.h]
|
[gfx.h]
|
||||||
defines = true
|
defines = true
|
||||||
pipe = "vim -es +'g/^static inline.*{/norm f{d%r;' -es +%print -es +q! $file"
|
remove_static = true
|
||||||
|
|
||||||
[ioctl.h]
|
[ioctl.h]
|
||||||
defines = true
|
defines = true
|
||||||
|
|
@ -343,15 +343,15 @@ template CONSOLE_CYAN*: string = CONSOLE_ESC("36;1m")
|
||||||
template CONSOLE_WHITE*: string = CONSOLE_ESC("37;1m")
|
template CONSOLE_WHITE*: string = CONSOLE_ESC("37;1m")
|
||||||
|
|
||||||
# Styles
|
# Styles
|
||||||
template CONSOLE_COLOR_BOLD*: int = (1 shl 0)
|
template CONSOLE_COLOR_BOLD*: int = BIT(0)
|
||||||
template CONSOLE_COLOR_FAINT*: int = (1 shl 1)
|
template CONSOLE_COLOR_FAINT*: int = BIT(1)
|
||||||
template CONSOLE_ITALIC*: int = (1 shl 2)
|
template CONSOLE_ITALIC*: int = BIT(2)
|
||||||
template CONSOLE_UNDERLINE*: int = (1 shl 3)
|
template CONSOLE_UNDERLINE*: int = BIT(3)
|
||||||
template CONSOLE_BLINK_SLOW*: int =(1 shl 4)
|
template CONSOLE_BLINK_SLOW*: int = BIT(4)
|
||||||
template CONSOLE_BLINK_FAST*: int = (1 shl 5)
|
template CONSOLE_BLINK_FAST*: int = BIT(5)
|
||||||
template CONSOLE_COLOR_REVERSE*: int = (1 shl 6)
|
template CONSOLE_COLOR_REVERSE*: int = BIT(6)
|
||||||
template CONSOLE_CONCEAL*: int = (1 shl 7)
|
template CONSOLE_CONCEAL*: int = BIT(7)
|
||||||
template CONSOLE_CROSSED_OUT*: int = (1 shl 8)
|
template CONSOLE_CROSSED_OUT*: int = BIT(8)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue