Skip to content
Snippets Groups Projects
Commit 7a4a4c05 authored by Ralf Mueller's avatar Ralf Mueller :fishing_pole_and_fish: Committed by Sergey Kosukhin
Browse files

Make f2003/bindGen.rb change Size- and DateType.

parent 6d73daca
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!16Remove Fortran interface files from the repo
......@@ -938,6 +938,9 @@ def scanHeader(headerPath)
headerLines.each do |line|
line.chomp!
line.gsub!(/SizeType/,'int')
line.gsub!(/DateType/,'int')
if /^\s*$/.match(line)
#Empty lines are ignored.
......
......@@ -284,9 +284,7 @@ endif
#
# cat $(top_srcdir)/src/cdi.h |sed -e 's/SizeType/size_t/g' -e s/DateType/int64_t/g > cditmp.h
mo_cdi.f90: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/src/cdi.h $(top_srcdir)/interfaces/f2003/bindGen.rb
cat $(top_srcdir)/src/cdi.h |sed -e 's/SizeType/int/g' -e s/DateType/int/g > cditmp.h
$(AM_V_GEN)$(RUBY) $(top_srcdir)/interfaces/f2003/bindGen.rb cditmp.h $@
rm cditmp.h
$(AM_V_GEN)$(RUBY) $(top_srcdir)/interfaces/f2003/bindGen.rb $(top_srcdir)/src/cdi.h $@
if FORTRAN_MOD_UC
MO_CDI.$(FCMODEXT): mo_cdi.lo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment