Change c files to cpp
Summary: Changed the extensions of c files to cpp and made the project build successfully Reviewed By: gkassabli Differential Revision: D6271299 fbshipit-source-id: 66c0e54ccf019d72d1fd0b4d117826e4e84fdc89
This commit is contained in:
committed by
Facebook Github Bot
parent
15231c3304
commit
02c00f2711
2
enums.py
2
enums.py
@@ -161,7 +161,7 @@ with open(root + '/yoga/YGEnums.h', 'w') as f:
|
||||
f.write('YG_EXTERN_C_END\n')
|
||||
|
||||
# write out C body for printing
|
||||
with open(root + '/yoga/YGEnums.c', 'w') as f:
|
||||
with open(root + '/yoga/YGEnums.cpp', 'w') as f:
|
||||
f.write(LICENSE)
|
||||
f.write('#include "YGEnums.h"\n\n')
|
||||
for name, values in sorted(ENUMS.items()):
|
||||
|
Reference in New Issue
Block a user