Skip to content
Snippets Groups Projects
Commit 075578c1 authored by Ralf Mueller's avatar Ralf Mueller :fishing_pole_and_fish:
Browse files

change Size- and DateType for f2003 in bindGen.rb

parent 58fe2520
No related tags found
No related merge requests found
Pipeline #13998 failed
......@@ -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.
......
......@@ -282,9 +282,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