Changeset 3092
- Timestamp:
- Oct 25, 2008, 12:35:21 AM (14 years ago)
- Location:
- libcaca/trunk/caca-php
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/php_caca.c
r3091 r3092 54 54 PHP_FE(caca_set_color_ansi, NULL) 55 55 PHP_FE(caca_set_color_argb, NULL) 56 PHP_FE(caca_attr_to_ansi, NULL) 57 PHP_FE(caca_attr_to_ansi_fg, NULL) 58 PHP_FE(caca_attr_to_ansi_bg, NULL) 56 59 PHP_FE(caca_draw_line, NULL) 57 60 PHP_FE(caca_draw_polyline, NULL) … … 70 73 PHP_FE(caca_get_frame_count, NULL) 71 74 PHP_FE(caca_set_frame, NULL) 72 PHP_FE(caca_get_frame_name, NULL)73 75 PHP_FE(caca_set_frame_name, NULL) 74 76 PHP_FE(caca_create_frame, NULL) … … 102 104 PHP_FE(caca_flush_figlet, NULL) 103 105 PHP_FE(caca_file_close, NULL) 106 PHP_FE(caca_file_tell, NULL) 107 PHP_FE(caca_file_read, NULL) 108 PHP_FE(caca_file_write, NULL) 104 109 PHP_FE(caca_file_gets, NULL) 105 110 PHP_FE(caca_file_eof, NULL) 111 PHP_FE(caca_import_memory, NULL) 112 PHP_FE(caca_import_file, NULL) 106 113 PHP_FE(caca_get_import_list, NULL) 107 PHP_FE(caca_export_memory, NULL)108 114 PHP_FE(caca_get_export_list, NULL) 115 PHP_FE(caca_create_display, NULL) 116 PHP_FE(caca_create_display_with_driver, NULL) 109 117 PHP_FE(caca_get_display_driver_list, NULL) 110 118 PHP_FE(caca_get_display_driver, NULL) 111 119 PHP_FE(caca_set_display_driver, NULL) 120 PHP_FE(caca_get_canvas, NULL) 112 121 PHP_FE(caca_refresh_display, NULL) 113 122 PHP_FE(caca_set_display_time, NULL) … … 354 363 355 364 PHP_FUNCTION(caca_clear_canvas) { 356 caca_canvas_t *canvas;357 FETCH_CANVAS(canvas);358 RETURN_BOOL(caca_clear_canvas(canvas) == 0);359 365 } 360 366 … … 443 449 } 444 450 445 PHP_FUNCTION(caca_attr_to_a rgb64) {446 } 447 448 PHP_FUNCTION(caca_ utf32_to_ascii) {449 } 450 451 PHP_FUNCTION(caca_ utf32_is_fullwidth) {451 PHP_FUNCTION(caca_attr_to_ansi) { 452 } 453 454 PHP_FUNCTION(caca_attr_to_ansi_fg) { 455 } 456 457 PHP_FUNCTION(caca_attr_to_ansi_bg) { 452 458 } 453 459 … … 482 488 } 483 489 484 PHP_FUNCTION(caca_draw_cp437_box) {485 }486 487 490 PHP_FUNCTION(caca_fill_box) { 488 491 } … … 503 506 } 504 507 505 PHP_FUNCTION(caca_get_frame_name) {506 }507 508 508 PHP_FUNCTION(caca_set_frame_name) { 509 509 } … … 599 599 } 600 600 601 PHP_FUNCTION(caca_file_tell) { 602 } 603 604 PHP_FUNCTION(caca_file_read) { 605 } 606 607 PHP_FUNCTION(caca_file_write) { 608 } 609 601 610 PHP_FUNCTION(caca_file_gets) { 602 611 } … … 605 614 } 606 615 616 PHP_FUNCTION(caca_import_memory) { 617 } 618 619 PHP_FUNCTION(caca_import_file) { 620 } 621 607 622 PHP_FUNCTION(caca_get_import_list) { 608 623 } 609 624 610 PHP_FUNCTION(caca_export_memory) {611 }612 613 625 PHP_FUNCTION(caca_get_export_list) { 614 626 } 615 627 628 PHP_FUNCTION(caca_create_display) { 629 } 630 631 PHP_FUNCTION(caca_create_display_with_driver) { 632 } 633 616 634 PHP_FUNCTION(caca_get_display_driver_list) { 617 635 } … … 623 641 } 624 642 643 PHP_FUNCTION(caca_get_canvas) { 644 } 645 625 646 PHP_FUNCTION(caca_refresh_display) { 626 647 } … … 662 683 } 663 684 664 PHP_FUNCTION(caca_get_event_key_utf8) {665 }666 667 685 PHP_FUNCTION(caca_get_event_mouse_button) { 668 686 } … … 680 698 } 681 699 682 -
libcaca/trunk/caca-php/php_caca.h
r3091 r3092 62 62 PHP_FUNCTION(caca_flip); 63 63 PHP_FUNCTION(caca_flop); 64 PHP_FUNCTION(caca_rotate_180);65 64 PHP_FUNCTION(caca_rotate_left); 66 65 PHP_FUNCTION(caca_rotate_right); … … 72 71 PHP_FUNCTION(caca_set_color_ansi); 73 72 PHP_FUNCTION(caca_set_color_argb); 74 PHP_FUNCTION(caca_attr_to_a rgb64);75 PHP_FUNCTION(caca_ utf32_to_ascii);76 PHP_FUNCTION(caca_ utf32_is_fullwidth);73 PHP_FUNCTION(caca_attr_to_ansi); 74 PHP_FUNCTION(caca_attr_to_ansi_fg); 75 PHP_FUNCTION(caca_attr_to_ansi_bg); 77 76 PHP_FUNCTION(caca_draw_line); 78 77 PHP_FUNCTION(caca_draw_polyline); … … 85 84 PHP_FUNCTION(caca_draw_box); 86 85 PHP_FUNCTION(caca_draw_thin_box); 87 PHP_FUNCTION(caca_draw_cp437_box);88 86 PHP_FUNCTION(caca_fill_box); 89 87 PHP_FUNCTION(caca_draw_triangle); … … 92 90 PHP_FUNCTION(caca_get_frame_count); 93 91 PHP_FUNCTION(caca_set_frame); 94 PHP_FUNCTION(caca_get_frame_name);95 92 PHP_FUNCTION(caca_set_frame_name); 96 93 PHP_FUNCTION(caca_create_frame); … … 124 121 PHP_FUNCTION(caca_flush_figlet); 125 122 PHP_FUNCTION(caca_file_close); 123 PHP_FUNCTION(caca_file_tell); 124 PHP_FUNCTION(caca_file_read); 125 PHP_FUNCTION(caca_file_write); 126 126 PHP_FUNCTION(caca_file_gets); 127 127 PHP_FUNCTION(caca_file_eof); 128 PHP_FUNCTION(caca_import_memory); 129 PHP_FUNCTION(caca_import_file); 128 130 PHP_FUNCTION(caca_get_import_list); 129 PHP_FUNCTION(caca_export_memory);130 131 PHP_FUNCTION(caca_get_export_list); 132 PHP_FUNCTION(caca_create_display); 133 PHP_FUNCTION(caca_create_display_with_driver); 131 134 PHP_FUNCTION(caca_get_display_driver_list); 132 135 PHP_FUNCTION(caca_get_display_driver); 133 136 PHP_FUNCTION(caca_set_display_driver); 137 PHP_FUNCTION(caca_get_canvas); 134 138 PHP_FUNCTION(caca_refresh_display); 135 139 PHP_FUNCTION(caca_set_display_time); … … 145 149 PHP_FUNCTION(caca_get_event_type); 146 150 PHP_FUNCTION(caca_get_event_key_ch); 147 PHP_FUNCTION(caca_get_event_key_utf8);148 151 PHP_FUNCTION(caca_get_event_mouse_button); 149 152 PHP_FUNCTION(caca_get_event_mouse_x);
Note: See TracChangeset
for help on using the changeset viewer.