RETURN_STRINGL(string, len);
}
/* }}} */
-/* The previous line is meant for vim and emacs, so it can correctly fold and
- unfold functions in source code. See the corresponding marks just before
- function definition, where the functions purpose is also documented. Please
+/* The previous line is meant for vim and emacs, so it can correctly fold and
+ unfold functions in source code. See the corresponding marks just before
+ function definition, where the functions purpose is also documented. Please
follow this convention for the convenience of others editing your code.
*/
add_assoc_long(return_value, "y_min", swf->header_movie.frame_size.y_min / SWF_TWIPS);
add_assoc_long(return_value, "x_max", swf->header_movie.frame_size.x_max / SWF_TWIPS);
add_assoc_long(return_value, "y_max", swf->header_movie.frame_size.y_max / SWF_TWIPS);
-
-
}
PHP_METHOD(swfed, setHeaderInfo) {
(unsigned char *)data,
(unsigned long) data_len,
rgb15);
-
break;
case BITMAP_UTIL_FORMAT_GIF:
result = swf_object_replace_gifdata(swf, image_id,
(unsigned char *)data,
(unsigned long) data_len);
-
break;
default:
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown Bitmap Format");
&ini_text, &ini_text_len) == FAILURE) {
RETURN_FALSE;
}
- swf = get_swf_object(getThis() TSRMLS_CC);
+ swf = get_swf_object(getThis() TSRMLS_CC);
result = swf_object_replace_editstring(swf, var_name, var_name_len,
ini_text, ini_text_len);
if (result) {
swf_object_t *swf = NULL;
unsigned char *data = NULL;
unsigned long data_len = 0;
-
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &tag_seqno) == FAILURE) {
RETURN_FALSE;
}
}
break;
}
- swf = get_swf_object(getThis() TSRMLS_CC);
+ swf = get_swf_object(getThis() TSRMLS_CC);
result = swf_object_replace_movieclip(swf,
(unsigned char *)instance_name,
instance_name_len,
data_len) == 0) {
RETURN_FALSE;
}
- RETURN_TRUE;
+ RETURN_TRUE;
}
PHP_METHOD(swfed, isBitmapTagData) {
data_len) == 0) {
RETURN_FALSE;
}
- RETURN_TRUE;
+ RETURN_TRUE;
}
// printf("SWFEditor->destory\n");
swf_object_close((swf_object_t *) resource->ptr);
}
-