Announcement

Collapse
No announcement yet.

atombios parameter space allocation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • atombios parameter space allocation

    Hi,

    Shall we trust the parameter space size from the command table header for each command table execution, or the size of the structure defined in atombios.h?

  • #2
    Use the space specified in the header. Some tables call other tables which need larger parameter spaces.

    Comment


    • #3
      Is this going to work if I do allocate the parameter space for each table invocation using the parameter space size in the command table header?

      Comment


      • #4
        Actually I take that back. the parameters are passed to the parser when it's called. You need to allocate the size of the ps allocation struct for the command table you want to execute. The struct size should match the ps size in the header.

        Comment


        • #5
          Ok! Indeed, it is should work.
          thx.

          Comment

          Working...
          X