diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-06-20 09:51:50 +0000 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2020-06-23 10:31:05 +0200 |
commit | 727167ced6e2c75a6c927b4652ea5eaa3fe5c594 (patch) | |
tree | a43de9d41aa9ddecd1c8cf3149916e1ad37c1a07 | |
parent | 17151e2eb8aef9bbe46b4e93ea4f832fbbf30d26 (diff) |
Get rid of trailing whitespaces (11 / 14)
Remove trailing whitespaces
Differential Revision: https://phab.enlightenment.org/D12010
-rw-r--r-- | src/lib/embryo/Embryo.h | 82 | ||||
-rw-r--r-- | src/lib/eolian/eo_lexer.c | 2 | ||||
-rw-r--r-- | src/lib/ethumb/Ethumb.h | 8 | ||||
-rw-r--r-- | src/lib/ethumb/ethumb.c | 2 | ||||
-rw-r--r-- | src/lib/ethumb/md5.c | 2 | ||||
-rw-r--r-- | src/lib/ethumb_client/ethumb_client.c | 6 |
6 files changed, 51 insertions, 51 deletions
diff --git a/src/lib/embryo/Embryo.h b/src/lib/embryo/Embryo.h index 84e39aca46..4d02007dd4 100644 --- a/src/lib/embryo/Embryo.h +++ b/src/lib/embryo/Embryo.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /** | 1 | /** |
2 | @brief Embryo Library | 2 | @brief Embryo Library |
3 | 3 | ||
4 | These routines are used for Embryo. | 4 | These routines are used for Embryo. |
5 | 5 | ||
6 | @page embryo_main Embryo | 6 | @page embryo_main Embryo |
@@ -22,7 +22,7 @@ up and smaller version of the original Small abstract machine. The | |||
22 | compiler is mostly untouched. | 22 | compiler is mostly untouched. |
23 | 23 | ||
24 | Small was renamed to Pawn. | 24 | Small was renamed to Pawn. |
25 | For more information about the Pawn language, see | 25 | For more information about the Pawn language, see |
26 | @htmlonly <a href=http://www.compuphase.com/pawn/pawn.htm>Pawn</a> | 26 | @htmlonly <a href=http://www.compuphase.com/pawn/pawn.htm>Pawn</a> |
27 | @endhtmlonly | 27 | @endhtmlonly |
28 | @latexonly http://www.compuphase.com/pawn/pawn.htm @endlatexonly | 28 | @latexonly http://www.compuphase.com/pawn/pawn.htm @endlatexonly |
@@ -190,7 +190,7 @@ The following preprocessor directives are available: | |||
190 | // Various bits of code | 190 | // Various bits of code |
191 | #else | 191 | #else |
192 | // Other bits of code | 192 | // Other bits of code |
193 | #endif | 193 | #endif |
194 | @endcode | 194 | @endcode |
195 | @li @code #undef pattern @endcode | 195 | @li @code #undef pattern @endcode |
196 | 196 | ||
@@ -201,7 +201,7 @@ Embryo provides a minimal set of native calls that can be used within | |||
201 | any Embryo script. Those calls are detailed here. | 201 | any Embryo script. Those calls are detailed here. |
202 | 202 | ||
203 | @note Some of the "core" functions here are also described in the full | 203 | @note Some of the "core" functions here are also described in the full |
204 | Small documentation given | 204 | Small documentation given |
205 | 205 | ||
206 | @todo Finish this section. | 206 | @todo Finish this section. |
207 | 207 | ||
@@ -304,7 +304,7 @@ This is the @e only file you need to include. | |||
304 | // mess up the formatting of the file | 304 | // mess up the formatting of the file |
305 | 305 | ||
306 | /** | 306 | /** |
307 | @def EMBRYO_FUNCTION_NONE | 307 | @def EMBRYO_FUNCTION_NONE |
308 | An invalid/non-existent function. | 308 | An invalid/non-existent function. |
309 | */ | 309 | */ |
310 | 310 | ||
@@ -382,9 +382,9 @@ extern "C" { | |||
382 | int micro; /** < micro (bugfix, internal improvements, no new features version) */ | 382 | int micro; /** < micro (bugfix, internal improvements, no new features version) */ |
383 | int revision; /** < git revision (0 if a proper release or the git revision number Embryo is built from) */ | 383 | int revision; /** < git revision (0 if a proper release or the git revision number Embryo is built from) */ |
384 | } Embryo_Version; | 384 | } Embryo_Version; |
385 | 385 | ||
386 | EAPI extern Embryo_Version *embryo_version; | 386 | EAPI extern Embryo_Version *embryo_version; |
387 | 387 | ||
388 | /* potential error values */ | 388 | /* potential error values */ |
389 | typedef enum _Embryo_Error | 389 | typedef enum _Embryo_Error |
390 | { | 390 | { |
@@ -425,12 +425,12 @@ extern "C" { | |||
425 | EMBRYO_PROGRAM_BUSY = 3, | 425 | EMBRYO_PROGRAM_BUSY = 3, |
426 | EMBRYO_PROGRAM_TOOLONG = 4 | 426 | EMBRYO_PROGRAM_TOOLONG = 4 |
427 | } Embryo_Status; | 427 | } Embryo_Status; |
428 | 428 | ||
429 | typedef unsigned int Embryo_UCell; | 429 | typedef unsigned int Embryo_UCell; |
430 | typedef int Embryo_Cell; | 430 | typedef int Embryo_Cell; |
431 | /** An invalid cell reference */ | 431 | /** An invalid cell reference */ |
432 | #define EMBRYO_CELL_NONE 0x7fffffff | 432 | #define EMBRYO_CELL_NONE 0x7fffffff |
433 | 433 | ||
434 | typedef struct _Embryo_Program Embryo_Program; | 434 | typedef struct _Embryo_Program Embryo_Program; |
435 | typedef int Embryo_Function; | 435 | typedef int Embryo_Function; |
436 | /* possible function type values that are enumerated */ | 436 | /* possible function type values that are enumerated */ |
@@ -462,8 +462,8 @@ extern "C" { | |||
462 | * | 462 | * |
463 | * Functions that start up and shutdown the Embryo library. | 463 | * Functions that start up and shutdown the Embryo library. |
464 | */ | 464 | */ |
465 | 465 | ||
466 | 466 | ||
467 | /** | 467 | /** |
468 | * Initialises the Embryo library. | 468 | * Initialises the Embryo library. |
469 | * @return The number of times the library has been initialised without being | 469 | * @return The number of times the library has been initialised without being |
@@ -471,7 +471,7 @@ extern "C" { | |||
471 | * @ingroup Embryo_Library_Group | 471 | * @ingroup Embryo_Library_Group |
472 | */ | 472 | */ |
473 | EAPI int embryo_init(void); | 473 | EAPI int embryo_init(void); |
474 | 474 | ||
475 | /** | 475 | /** |
476 | * Shuts down the Embryo library. | 476 | * Shuts down the Embryo library. |
477 | * @return The number of times the library has been initialised without being | 477 | * @return The number of times the library has been initialised without being |
@@ -486,7 +486,7 @@ EAPI int embryo_shutdown(void); | |||
486 | * | 486 | * |
487 | * Functions that set up programs, and destroy them. | 487 | * Functions that set up programs, and destroy them. |
488 | */ | 488 | */ |
489 | 489 | ||
490 | /** | 490 | /** |
491 | * Creates a new Embryo program, with bytecode data that can be freed. | 491 | * Creates a new Embryo program, with bytecode data that can be freed. |
492 | * @param data Pointer to the bytecode of the program. | 492 | * @param data Pointer to the bytecode of the program. |
@@ -495,7 +495,7 @@ EAPI int embryo_shutdown(void); | |||
495 | * @ingroup Embryo_Program_Creation_Group | 495 | * @ingroup Embryo_Program_Creation_Group |
496 | */ | 496 | */ |
497 | EAPI Embryo_Program *embryo_program_new(void *data, int size); | 497 | EAPI Embryo_Program *embryo_program_new(void *data, int size); |
498 | 498 | ||
499 | /** | 499 | /** |
500 | * Creates a new Embryo program, with bytecode data that cannot be | 500 | * Creates a new Embryo program, with bytecode data that cannot be |
501 | * freed. | 501 | * freed. |
@@ -505,7 +505,7 @@ EAPI Embryo_Program *embryo_program_new(void *data, int size); | |||
505 | * @ingroup Embryo_Program_Creation_Group | 505 | * @ingroup Embryo_Program_Creation_Group |
506 | */ | 506 | */ |
507 | EAPI Embryo_Program *embryo_program_const_new(void *data, int size); | 507 | EAPI Embryo_Program *embryo_program_const_new(void *data, int size); |
508 | 508 | ||
509 | /** | 509 | /** |
510 | * Creates a new Embryo program based on the bytecode data stored in the | 510 | * Creates a new Embryo program based on the bytecode data stored in the |
511 | * given file. | 511 | * given file. |
@@ -514,7 +514,7 @@ EAPI Embryo_Program *embryo_program_const_new(void *data, int size); | |||
514 | * @ingroup Embryo_Program_Creation_Group | 514 | * @ingroup Embryo_Program_Creation_Group |
515 | */ | 515 | */ |
516 | EAPI Embryo_Program *embryo_program_load(const char *file); | 516 | EAPI Embryo_Program *embryo_program_load(const char *file); |
517 | 517 | ||
518 | /** | 518 | /** |
519 | * Frees the given Embryo program. | 519 | * Frees the given Embryo program. |
520 | * @param ep The given program. | 520 | * @param ep The given program. |
@@ -528,7 +528,7 @@ EAPI void embryo_program_free(Embryo_Program *ep); | |||
528 | * | 528 | * |
529 | * Functions that deal with Embryo program functions. | 529 | * Functions that deal with Embryo program functions. |
530 | */ | 530 | */ |
531 | 531 | ||
532 | /** | 532 | /** |
533 | * Adds a native program call to the given Embryo program. | 533 | * Adds a native program call to the given Embryo program. |
534 | * @param ep The given Embryo program. | 534 | * @param ep The given Embryo program. |
@@ -564,7 +564,7 @@ EAPI void embryo_program_native_call_add(Embryo_Program *ep, const c | |||
564 | * @ingroup Embryo_Program_VM_Group | 564 | * @ingroup Embryo_Program_VM_Group |
565 | */ | 565 | */ |
566 | EAPI void embryo_program_vm_reset(Embryo_Program *ep); | 566 | EAPI void embryo_program_vm_reset(Embryo_Program *ep); |
567 | 567 | ||
568 | /** | 568 | /** |
569 | * Starts a new virtual machine session for the given program. | 569 | * Starts a new virtual machine session for the given program. |
570 | * | 570 | * |
@@ -574,7 +574,7 @@ EAPI void embryo_program_vm_reset(Embryo_Program *ep); | |||
574 | * @ingroup Embryo_Program_VM_Group | 574 | * @ingroup Embryo_Program_VM_Group |
575 | */ | 575 | */ |
576 | EAPI void embryo_program_vm_push(Embryo_Program *ep); | 576 | EAPI void embryo_program_vm_push(Embryo_Program *ep); |
577 | 577 | ||
578 | /** | 578 | /** |
579 | * Frees the current virtual machine session associated with the given program. | 579 | * Frees the current virtual machine session associated with the given program. |
580 | * | 580 | * |
@@ -596,7 +596,7 @@ EAPI void embryo_program_vm_pop(Embryo_Program *ep); | |||
596 | * used to ensure that the virtual machine operates correctly on big | 596 | * used to ensure that the virtual machine operates correctly on big |
597 | * endian machines. | 597 | * endian machines. |
598 | */ | 598 | */ |
599 | 599 | ||
600 | /** | 600 | /** |
601 | * Ensures that the given unsigned short integer is in the small | 601 | * Ensures that the given unsigned short integer is in the small |
602 | * endian format. | 602 | * endian format. |
@@ -604,7 +604,7 @@ EAPI void embryo_program_vm_pop(Embryo_Program *ep); | |||
604 | * @ingroup Embryo_Swap_Group | 604 | * @ingroup Embryo_Swap_Group |
605 | */ | 605 | */ |
606 | EAPI void embryo_swap_16(unsigned short *v); | 606 | EAPI void embryo_swap_16(unsigned short *v); |
607 | 607 | ||
608 | /** | 608 | /** |
609 | * Ensures that the given unsigned integer is in the small endian | 609 | * Ensures that the given unsigned integer is in the small endian |
610 | * format. | 610 | * format. |
@@ -612,7 +612,7 @@ EAPI void embryo_swap_16(unsigned short *v); | |||
612 | * @ingroup Embryo_Swap_Group | 612 | * @ingroup Embryo_Swap_Group |
613 | */ | 613 | */ |
614 | EAPI void embryo_swap_32(unsigned int *v); | 614 | EAPI void embryo_swap_32(unsigned int *v); |
615 | 615 | ||
616 | /** | 616 | /** |
617 | * Returns the function in the given program with the given name. | 617 | * Returns the function in the given program with the given name. |
618 | * @param ep The given program. | 618 | * @param ep The given program. |
@@ -621,7 +621,7 @@ EAPI void embryo_swap_32(unsigned int *v); | |||
621 | * @ingroup Embryo_Func_Group | 621 | * @ingroup Embryo_Func_Group |
622 | */ | 622 | */ |
623 | EAPI Embryo_Function embryo_program_function_find(Embryo_Program *ep, const char *name); | 623 | EAPI Embryo_Function embryo_program_function_find(Embryo_Program *ep, const char *name); |
624 | 624 | ||
625 | /** | 625 | /** |
626 | * @defgroup Embryo_Public_Variable_Group Public Variable Access Functions | 626 | * @defgroup Embryo_Public_Variable_Group Public Variable Access Functions |
627 | * @ingroup Embryo | 627 | * @ingroup Embryo |
@@ -641,7 +641,7 @@ EAPI Embryo_Function embryo_program_function_find(Embryo_Program *ep, const cha | |||
641 | * @ingroup Embryo_Public_Variable_Group | 641 | * @ingroup Embryo_Public_Variable_Group |
642 | */ | 642 | */ |
643 | EAPI Embryo_Cell embryo_program_variable_find(Embryo_Program *ep, const char *name); | 643 | EAPI Embryo_Cell embryo_program_variable_find(Embryo_Program *ep, const char *name); |
644 | 644 | ||
645 | /** | 645 | /** |
646 | * Retrieves the number of public variables in the given program. | 646 | * Retrieves the number of public variables in the given program. |
647 | * @param ep The given program. | 647 | * @param ep The given program. |
@@ -649,7 +649,7 @@ EAPI Embryo_Cell embryo_program_variable_find(Embryo_Program *ep, const cha | |||
649 | * @ingroup Embryo_Public_Variable_Group | 649 | * @ingroup Embryo_Public_Variable_Group |
650 | */ | 650 | */ |
651 | EAPI int embryo_program_variable_count_get(Embryo_Program *ep); | 651 | EAPI int embryo_program_variable_count_get(Embryo_Program *ep); |
652 | 652 | ||
653 | /** | 653 | /** |
654 | * Retrieves the location of the public variable in the given program | 654 | * Retrieves the location of the public variable in the given program |
655 | * with the given identifier. | 655 | * with the given identifier. |
@@ -667,7 +667,7 @@ EAPI Embryo_Cell embryo_program_variable_get(Embryo_Program *ep, int num); | |||
667 | * | 667 | * |
668 | * Functions that set and retrieve error codes in Embryo programs. | 668 | * Functions that set and retrieve error codes in Embryo programs. |
669 | */ | 669 | */ |
670 | 670 | ||
671 | /** | 671 | /** |
672 | * Sets the error code for the given program to the given code. | 672 | * Sets the error code for the given program to the given code. |
673 | * @param ep The given program. | 673 | * @param ep The given program. |
@@ -675,7 +675,7 @@ EAPI Embryo_Cell embryo_program_variable_get(Embryo_Program *ep, int num); | |||
675 | * @ingroup Embryo_Error_Group | 675 | * @ingroup Embryo_Error_Group |
676 | */ | 676 | */ |
677 | EAPI void embryo_program_error_set(Embryo_Program *ep, Embryo_Error error); | 677 | EAPI void embryo_program_error_set(Embryo_Program *ep, Embryo_Error error); |
678 | 678 | ||
679 | /** | 679 | /** |
680 | * Retrieves the current error code for the given program. | 680 | * Retrieves the current error code for the given program. |
681 | * @param ep The given program. | 681 | * @param ep The given program. |
@@ -691,7 +691,7 @@ EAPI Embryo_Error embryo_program_error_get(Embryo_Program *ep); | |||
691 | * Functions that set and retrieve data associated with the given | 691 | * Functions that set and retrieve data associated with the given |
692 | * program. | 692 | * program. |
693 | */ | 693 | */ |
694 | 694 | ||
695 | /** | 695 | /** |
696 | * Sets the data associated to the given program. | 696 | * Sets the data associated to the given program. |
697 | * @param ep The given program. | 697 | * @param ep The given program. |
@@ -699,14 +699,14 @@ EAPI Embryo_Error embryo_program_error_get(Embryo_Program *ep); | |||
699 | * @ingroup Embryo_Program_Data_Group | 699 | * @ingroup Embryo_Program_Data_Group |
700 | */ | 700 | */ |
701 | EAPI void embryo_program_data_set(Embryo_Program *ep, void *data); | 701 | EAPI void embryo_program_data_set(Embryo_Program *ep, void *data); |
702 | 702 | ||
703 | /** | 703 | /** |
704 | * Retrieves the data associated to the given program. | 704 | * Retrieves the data associated to the given program. |
705 | * @param ep The given program. | 705 | * @param ep The given program. |
706 | * @ingroup Embryo_Program_Data_Group | 706 | * @ingroup Embryo_Program_Data_Group |
707 | */ | 707 | */ |
708 | EAPI void *embryo_program_data_get(Embryo_Program *ep); | 708 | EAPI void *embryo_program_data_get(Embryo_Program *ep); |
709 | 709 | ||
710 | /** | 710 | /** |
711 | * Retrieves a string describing the given error code. | 711 | * Retrieves a string describing the given error code. |
712 | * @param error The given error code. | 712 | * @param error The given error code. |
@@ -722,7 +722,7 @@ EAPI const char *embryo_error_string_get(Embryo_Error error); | |||
722 | * | 722 | * |
723 | * Functions that operate on strings in the memory of a virtual machine. | 723 | * Functions that operate on strings in the memory of a virtual machine. |
724 | */ | 724 | */ |
725 | 725 | ||
726 | /** | 726 | /** |
727 | * Retrieves the length of the string starting at the given cell. | 727 | * Retrieves the length of the string starting at the given cell. |
728 | * @param ep The program the cell is part of. | 728 | * @param ep The program the cell is part of. |
@@ -731,7 +731,7 @@ EAPI const char *embryo_error_string_get(Embryo_Error error); | |||
731 | * @ingroup Embryo_Data_String_Group | 731 | * @ingroup Embryo_Data_String_Group |
732 | */ | 732 | */ |
733 | EAPI int embryo_data_string_length_get(Embryo_Program *ep, Embryo_Cell *str_cell); | 733 | EAPI int embryo_data_string_length_get(Embryo_Program *ep, Embryo_Cell *str_cell); |
734 | 734 | ||
735 | /** | 735 | /** |
736 | * Copies the string starting at the given cell to the given buffer. | 736 | * Copies the string starting at the given cell to the given buffer. |
737 | * @param ep The program the cell is part of. | 737 | * @param ep The program the cell is part of. |
@@ -740,7 +740,7 @@ EAPI int embryo_data_string_length_get(Embryo_Program *ep, Embryo_C | |||
740 | * @ingroup Embryo_Data_String_Group | 740 | * @ingroup Embryo_Data_String_Group |
741 | */ | 741 | */ |
742 | EAPI void embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *str_cell, char *dst); | 742 | EAPI void embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *str_cell, char *dst); |
743 | 743 | ||
744 | /** | 744 | /** |
745 | * Copies string in the given buffer into the virtual machine memory | 745 | * Copies string in the given buffer into the virtual machine memory |
746 | * starting at the given cell. | 746 | * starting at the given cell. |
@@ -750,7 +750,7 @@ EAPI void embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *st | |||
750 | * @ingroup Embryo_Data_String_Group | 750 | * @ingroup Embryo_Data_String_Group |
751 | */ | 751 | */ |
752 | EAPI void embryo_data_string_set(Embryo_Program *ep, const char *src, Embryo_Cell *str_cell); | 752 | EAPI void embryo_data_string_set(Embryo_Program *ep, const char *src, Embryo_Cell *str_cell); |
753 | 753 | ||
754 | /** | 754 | /** |
755 | * Retreives a pointer to the address in the virtual machine given by the | 755 | * Retreives a pointer to the address in the virtual machine given by the |
756 | * given cell. | 756 | * given cell. |
@@ -769,7 +769,7 @@ EAPI Embryo_Cell *embryo_data_address_get(Embryo_Program *ep, Embryo_Cell ad | |||
769 | * use at runtime. The heap functions here change the amount of heap | 769 | * use at runtime. The heap functions here change the amount of heap |
770 | * memory available. | 770 | * memory available. |
771 | */ | 771 | */ |
772 | 772 | ||
773 | /** | 773 | /** |
774 | * Increases the size of the heap of the given virtual machine by the given | 774 | * Increases the size of the heap of the given virtual machine by the given |
775 | * number of Embryo_Cells. | 775 | * number of Embryo_Cells. |
@@ -780,7 +780,7 @@ EAPI Embryo_Cell *embryo_data_address_get(Embryo_Program *ep, Embryo_Cell ad | |||
780 | * @ingroup Embryo_Heap_Group | 780 | * @ingroup Embryo_Heap_Group |
781 | */ | 781 | */ |
782 | EAPI Embryo_Cell embryo_data_heap_push(Embryo_Program *ep, int cells); | 782 | EAPI Embryo_Cell embryo_data_heap_push(Embryo_Program *ep, int cells); |
783 | 783 | ||
784 | /** | 784 | /** |
785 | * Decreases the size of the heap of the given virtual machine down to the | 785 | * Decreases the size of the heap of the given virtual machine down to the |
786 | * given size. | 786 | * given size. |
@@ -797,7 +797,7 @@ EAPI void embryo_data_heap_pop(Embryo_Program *ep, Embryo_Cell down_ | |||
797 | * Functions that are involved in actually running functions in an | 797 | * Functions that are involved in actually running functions in an |
798 | * Embryo program. | 798 | * Embryo program. |
799 | */ | 799 | */ |
800 | 800 | ||
801 | /** | 801 | /** |
802 | * Returns the number of virtual machines are running for the given program. | 802 | * Returns the number of virtual machines are running for the given program. |
803 | * @param ep The given program. | 803 | * @param ep The given program. |
@@ -805,7 +805,7 @@ EAPI void embryo_data_heap_pop(Embryo_Program *ep, Embryo_Cell down_ | |||
805 | * @ingroup Embryo_Run_Group | 805 | * @ingroup Embryo_Run_Group |
806 | */ | 806 | */ |
807 | EAPI int embryo_program_recursion_get(Embryo_Program *ep); | 807 | EAPI int embryo_program_recursion_get(Embryo_Program *ep); |
808 | 808 | ||
809 | /** | 809 | /** |
810 | * Runs the given function of the given Embryo program in the current | 810 | * Runs the given function of the given Embryo program in the current |
811 | * virtual machine. The parameter @p fn can be found using | 811 | * virtual machine. The parameter @p fn can be found using |
@@ -825,7 +825,7 @@ EAPI int embryo_program_recursion_get(Embryo_Program *ep); | |||
825 | * @ingroup Embryo_Run_Group | 825 | * @ingroup Embryo_Run_Group |
826 | */ | 826 | */ |
827 | EAPI Embryo_Status embryo_program_run(Embryo_Program *ep, Embryo_Function func); | 827 | EAPI Embryo_Status embryo_program_run(Embryo_Program *ep, Embryo_Function func); |
828 | 828 | ||
829 | /** | 829 | /** |
830 | * Retreives the return value of the last called function of the given | 830 | * Retreives the return value of the last called function of the given |
831 | * program. | 831 | * program. |
@@ -835,7 +835,7 @@ EAPI Embryo_Status embryo_program_run(Embryo_Program *ep, Embryo_Function fun | |||
835 | * @ingroup Embryo_Run_Group | 835 | * @ingroup Embryo_Run_Group |
836 | */ | 836 | */ |
837 | EAPI Embryo_Cell embryo_program_return_value_get(Embryo_Program *ep); | 837 | EAPI Embryo_Cell embryo_program_return_value_get(Embryo_Program *ep); |
838 | 838 | ||
839 | /** | 839 | /** |
840 | * Sets the maximum number of abstract machine cycles any given program run | 840 | * Sets the maximum number of abstract machine cycles any given program run |
841 | * can execute before being put to sleep and returning. | 841 | * can execute before being put to sleep and returning. |
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c index 365ff34303..ce54877747 100644 --- a/src/lib/eolian/eo_lexer.c +++ b/src/lib/eolian/eo_lexer.c | |||
@@ -80,7 +80,7 @@ static const char * const ctypes[] = | |||
80 | "Eina_Value", "Eina_Value *", "Eina_Binbuf *", "Efl_Event *", | 80 | "Eina_Value", "Eina_Value *", "Eina_Binbuf *", "Efl_Event *", |
81 | "char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *", | 81 | "char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *", |
82 | 82 | ||
83 | "Eina_Hash *", | 83 | "Eina_Hash *", |
84 | "void *", | 84 | "void *", |
85 | 85 | ||
86 | "function", | 86 | "function", |
diff --git a/src/lib/ethumb/Ethumb.h b/src/lib/ethumb/Ethumb.h index e69f2b3879..5626d5e539 100644 --- a/src/lib/ethumb/Ethumb.h +++ b/src/lib/ethumb/Ethumb.h | |||
@@ -407,18 +407,18 @@ EAPI float ethumb_video_start_get(const Ethumb *e) EINA_WARN_UNUSED_RESUL | |||
407 | 407 | ||
408 | /** | 408 | /** |
409 | * @brief Set the video time (duration) in seconds. | 409 | * @brief Set the video time (duration) in seconds. |
410 | * | 410 | * |
411 | * @param e handle of the current thumbnailer. | 411 | * @param e handle of the current thumbnailer. |
412 | * @param time the video duration in seconds | 412 | * @param time the video duration in seconds |
413 | */ | 413 | */ |
414 | EAPI void ethumb_video_time_set(Ethumb *e, float time) EINA_ARG_NONNULL(1); | 414 | EAPI void ethumb_video_time_set(Ethumb *e, float time) EINA_ARG_NONNULL(1); |
415 | 415 | ||
416 | /** | 416 | /** |
417 | * @brief Get the video time (duration) in seconds. | 417 | * @brief Get the video time (duration) in seconds. |
418 | * | 418 | * |
419 | * @param e handle of the current thumbnailer. | 419 | * @param e handle of the current thumbnailer. |
420 | * @return the video duration in seconds | 420 | * @return the video duration in seconds |
421 | */ | 421 | */ |
422 | EAPI float ethumb_video_time_get(const Ethumb *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE; | 422 | EAPI float ethumb_video_time_get(const Ethumb *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE; |
423 | 423 | ||
424 | /** | 424 | /** |
diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c index ca019823ae..45d2594fc7 100644 --- a/src/lib/ethumb/ethumb.c +++ b/src/lib/ethumb/ethumb.c | |||
@@ -878,7 +878,7 @@ ethumb_file_get(const Ethumb *e, const char **path, const char **key) | |||
878 | } | 878 | } |
879 | 879 | ||
880 | static const char ACCEPTABLE_URI_CHARS[96] = { | 880 | static const char ACCEPTABLE_URI_CHARS[96] = { |
881 | /* ! " # $ % & ' ( ) * + , - . / */ | 881 | /* ! " # $ % & ' ( ) * + , - . / */ |
882 | 0x00,0x3F,0x20,0x20,0x28,0x00,0x2C,0x3F,0x3F,0x3F,0x3F,0x2A,0x28,0x3F,0x3F,0x1C, | 882 | 0x00,0x3F,0x20,0x20,0x28,0x00,0x2C,0x3F,0x3F,0x3F,0x3F,0x2A,0x28,0x3F,0x3F,0x1C, |
883 | /* 0 1 2 3 4 5 6 7 8 9 : ; < = > ? */ | 883 | /* 0 1 2 3 4 5 6 7 8 9 : ; < = > ? */ |
884 | 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x38,0x20,0x20,0x2C,0x20,0x20, | 884 | 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x38,0x20,0x20,0x2C,0x20,0x20, |
diff --git a/src/lib/ethumb/md5.c b/src/lib/ethumb/md5.c index d43716672f..b346a46202 100644 --- a/src/lib/ethumb/md5.c +++ b/src/lib/ethumb/md5.c | |||
@@ -106,7 +106,7 @@ void MD5Update(MD5_CTX *ctx, unsigned char const *buf, unsigned len) | |||
106 | } | 106 | } |
107 | 107 | ||
108 | /* | 108 | /* |
109 | * Final wrapup - pad to 64-byte boundary with the bit pattern | 109 | * Final wrapup - pad to 64-byte boundary with the bit pattern |
110 | * 1 0* (64-bit count of bits processed, MSB-first) | 110 | * 1 0* (64-bit count of bits processed, MSB-first) |
111 | */ | 111 | */ |
112 | void MD5Final(unsigned char digest[16], MD5_CTX *ctx) | 112 | void MD5Final(unsigned char digest[16], MD5_CTX *ctx) |
diff --git a/src/lib/ethumb_client/ethumb_client.c b/src/lib/ethumb_client/ethumb_client.c index e5919f7dbf..1175402887 100644 --- a/src/lib/ethumb_client/ethumb_client.c +++ b/src/lib/ethumb_client/ethumb_client.c | |||
@@ -983,7 +983,7 @@ _ethumb_client_queue_add_cb(void *data, const Eldbus_Message *msg, Eldbus_Pendin | |||
983 | pending->pending_call = NULL; | 983 | pending->pending_call = NULL; |
984 | if (!client) goto end; | 984 | if (!client) goto end; |
985 | client->pending_add = eina_list_remove(client->pending_add, pending); | 985 | client->pending_add = eina_list_remove(client->pending_add, pending); |
986 | 986 | ||
987 | if (eldbus_message_error_get(msg, &errname, &errmsg)) | 987 | if (eldbus_message_error_get(msg, &errname, &errmsg)) |
988 | { | 988 | { |
989 | ERR("Error: %s %s", errname, errmsg); | 989 | ERR("Error: %s %s", errname, errmsg); |
@@ -996,7 +996,7 @@ _ethumb_client_queue_add_cb(void *data, const Eldbus_Message *msg, Eldbus_Pendin | |||
996 | goto end; | 996 | goto end; |
997 | } | 997 | } |
998 | 998 | ||
999 | 999 | ||
1000 | generating = calloc(1, sizeof(*generating)); | 1000 | generating = calloc(1, sizeof(*generating)); |
1001 | generating->id = id; | 1001 | generating->id = id; |
1002 | generating->file = pending->file; | 1002 | generating->file = pending->file; |
@@ -1050,7 +1050,7 @@ _ethumb_client_queue_add(Ethumb_Client *client, const char *file, const char *ke | |||
1050 | _ethumb_client_dbus_append_bytearray(main_itr, thumb_key); | 1050 | _ethumb_client_dbus_append_bytearray(main_itr, thumb_key); |
1051 | 1051 | ||
1052 | client->pending_add = eina_list_append(client->pending_add, pending); | 1052 | client->pending_add = eina_list_append(client->pending_add, pending); |
1053 | 1053 | ||
1054 | pending->pending_call = eldbus_proxy_send(client->proxy, msg, | 1054 | pending->pending_call = eldbus_proxy_send(client->proxy, msg, |
1055 | _ethumb_client_queue_add_cb, | 1055 | _ethumb_client_queue_add_cb, |
1056 | pending, -1); | 1056 | pending, -1); |