bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(low) cut-n-paste error in sample code for Quad FX interface


From: Roy Tobin
Subject: (low) cut-n-paste error in sample code for Quad FX interface
Date: Mon, 27 Jan 2025 22:27:52 -0800

Possible cut-n-paste error on line 363 of src/native/template.hh?
I presume the instrumenting literal should indicate that eval_fill_AB()
was called.  I'm just going by inspection -- this observation is from
a very initial peruse without comprehending the Quad FX interface at all.
Cheers,

   352  eval_fill_B(Value_P B, const NativeFunction * caller)
   353  {
   354  UCS_string ucs(UTF8_string("eval_fill_B() called"));
   355  Value_P Z(ucs, LOC);
   356     Z->check_value(LOC);
   357     return Token(TOK_APL_VALUE1, Z);
   358  }
   359  //-----------------------------------------------------------------------------
   360  Token
   361  eval_fill_AB(Value_P A, Value_P B, const NativeFunction * caller)
   362  {
   363  UCS_string ucs(UTF8_string("eval_fill_B() called"));    <<<LOOK HERE
   364  Value_P Z(ucs, LOC);
   365     Z->check_value(LOC);
   366     return Token(TOK_APL_VALUE1, Z);
   367  }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]