consistent ATTRNORETURN prefix and NORETURN suffix
This commit is contained in:
@@ -435,7 +435,7 @@ NHLUAH = $(INCL)/nhlua.h
|
||||
$(NHLUAH):
|
||||
echo "/* nhlua.h - generated by GNUmakefile */" > $@
|
||||
@echo "#include \"$(LUASRC)/lua.h\"" >> $@
|
||||
@echo "LUA_API int (lua_error) (lua_State *L) NORETURN;" >>$@
|
||||
@echo "ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN;" >>$@
|
||||
@echo "#include \"$(LUASRC)/lualib.h\"" >> $@
|
||||
@echo "#include \"$(LUASRC)/lauxlib.h\"" >> $@
|
||||
@echo "/*nhlua.h*/" >> $@
|
||||
|
||||
@@ -1769,7 +1769,7 @@ $(OUTL)utility.tag: $(INCL)nhlua.h outldir$(TARGET_CPU).tag $(OUTLHACKLIB) $(U)t
|
||||
$(INCL)nhlua.h:
|
||||
@echo /* nhlua.h - generated by Makefile from Makefile.nmake */ > $@
|
||||
@echo #include "lua.h" >> $@
|
||||
@echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> $@
|
||||
@echo ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN; >> $@
|
||||
@echo #include "lualib.h" >> $@
|
||||
@echo #include "lauxlib.h" >> $@
|
||||
@echo /*nhlua.h*/ >> $@
|
||||
|
||||
@@ -59,7 +59,7 @@ fetch-pdcurses:
|
||||
..\..\..\..\include\nhlua.h:
|
||||
@echo /* nhlua.h - generated by Makefile from fetchprereq.nmake */ > $@
|
||||
@echo #include "lua.h" >> $@
|
||||
@echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> $@
|
||||
@echo ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN; >> $@
|
||||
@echo #include "lualib.h" >> $@
|
||||
@echo #include "lauxlib.h" >> $@
|
||||
@echo /*nhlua.h*/ >> $@
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
<Message Text="Generating $(IncDir)nhlua.h" />
|
||||
<Exec Command="echo /* nhlua.h - generated by hacklib.vcxproj ClCompile */ > nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22lua.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN; >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22lualib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22lauxlib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo /*nhlua.h*/ >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
|
||||
@@ -471,7 +471,7 @@
|
||||
<Message Text="Generating $(IncDir)nhlua.h" />
|
||||
<Exec Command="echo /* nhlua.h - generated by lualib.vcxproj ClCompile */ > nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22lua.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo ATTRNORETURN LUA_API int (lua_error) (lua_State *L) NORETURN; >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22lualib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22lauxlib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo /*nhlua.h*/ >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
|
||||
Reference in New Issue
Block a user