ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

"Wrong" API prototypes

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

  • "Wrong" API prototypes

    Hello everybody.
    I often use the system APIs in C and C ++ programs to work with system objects. All of them have header files with prototypes. But it seems to me that the prototypes are written incorrectly. For example, the QSNDDTAQ API reference states that all parameters in a required group are input only. But in the prototype they are declared without the const qualifier. In my programs, I rewrite the prototype of the desired API "correctly" (according to the help) and use it. Will there be any problems with this approach?
Working...
X