Commit e63f81d4f24633db54e244abcb9de0fd5b59c145
1 parent
74cfe451
Exists in
master
Corrigindo retorno da função get_toggle_id
Showing
1 changed file
with
10 additions
and
10 deletions
Show diff stats
latest/src/include/lib3270.h
@@ -381,16 +381,6 @@ | @@ -381,16 +381,6 @@ | ||
381 | LIB3270_EXPORT unsigned char lib3270_get_toggle(H3270 *h, LIB3270_TOGGLE ix); | 381 | LIB3270_EXPORT unsigned char lib3270_get_toggle(H3270 *h, LIB3270_TOGGLE ix); |
382 | 382 | ||
383 | /** | 383 | /** |
384 | - * Translate a string toggle name to the corresponding value. | ||
385 | - * | ||
386 | - * @param name Toggle name. | ||
387 | - * | ||
388 | - * @return Toggle ID or -1 if it's invalid. | ||
389 | - * | ||
390 | - */ | ||
391 | - LIB3270_EXPORT LIB3270_TOGGLE lib3270_get_toggle_id(const char *name); | ||
392 | - | ||
393 | - /** | ||
394 | * Set toggle state. | 384 | * Set toggle state. |
395 | * | 385 | * |
396 | * @param h Session handle. | 386 | * @param h Session handle. |
@@ -403,6 +393,16 @@ | @@ -403,6 +393,16 @@ | ||
403 | LIB3270_EXPORT int lib3270_set_toggle(H3270 *h, LIB3270_TOGGLE ix, int value); | 393 | LIB3270_EXPORT int lib3270_set_toggle(H3270 *h, LIB3270_TOGGLE ix, int value); |
404 | 394 | ||
405 | /** | 395 | /** |
396 | + * Translate a string toggle name to the corresponding value. | ||
397 | + * | ||
398 | + * @param name Toggle name. | ||
399 | + * | ||
400 | + * @return Toggle ID or -1 if it's invalid. | ||
401 | + * | ||
402 | + */ | ||
403 | + LIB3270_EXPORT LIB3270_TOGGLE lib3270_get_toggle_id(const char *name); | ||
404 | + | ||
405 | + /** | ||
406 | * Revert toggle status. | 406 | * Revert toggle status. |
407 | * | 407 | * |
408 | * @param h Session handle. | 408 | * @param h Session handle. |