Skip to content
  • rtoy's avatar
    Support the Fortran capability of passing an array of one type · 12a40813
    rtoy authored
    to a routine expecting a different type.  Currently only supports REAL
    and COMPLEX arrays (and their double precison versions).
    
    NOTES:
    o Update
    
    f2cl0.l:
    o Export new symbols f2cl-copy-seq and make-compatible-seq.
    
    f2cl1.l:
    o New variable *copy-array-parameter* for keeping track of the option
      for f2cl and f2cl-compile.
    o Update f2cl and f2cl-compile to recognize :copy-array-parameter.
    o Modify massage-arglist and generate-call-to-routine to handle the
      new :copy-array-parameter capability.
    
    f2cl5.l:
    o Fix issue where quoted elements were modified.  They shouldn't be.
    o Fix issue where (array simple-float (*)) would get erroneously
      converted to (array simple-float (f2cl-lib:int-mul)).  We want to
      leave bare * alone.
    
    macros.l:
    o New macro f2cl-copy-seq to generate code to copy a sequence
      appropriately.
    o New function to create a compatible array to support
      :copy-array-parameter.
    12a40813