[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9865: initialize as an empty Date cl
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9865: initialize as an empty Date class. |
Date: |
Sat, 20 Dec 2008 13:31:48 -0700 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9865
committer: address@hidden
branch nick: rtmp
timestamp: Sat 2008-12-20 13:31:48 -0700
message:
initialize as an empty Date class.
add end of line when dumping if there is no data.
modified:
libamf/element.cpp
=== modified file 'libamf/element.cpp'
--- a/libamf/element.cpp 2008-12-20 17:11:55 +0000
+++ b/libamf/element.cpp 2008-12-20 20:31:48 +0000
@@ -1187,6 +1187,15 @@
///
/// @return A reference to this Element.
Element &
+Element::makeDate()
+{
+// GNASH_REPORT_FUNCTION;
+ _type = Element::DATE_AMF0;
+
+ return *this;
+}
+
+Element &
Element::makeDate(boost::uint8_t *date)
{
// GNASH_REPORT_FUNCTION;
@@ -1332,6 +1341,8 @@
case Element::RECORD_SET_AMF0:
case Element::XML_OBJECT_AMF0:
case Element::TYPED_OBJECT_AMF0:
+ cerr << endl;
+ break;
case Element::AMF3_DATA:
if (getDataSize() != 0) {
log_debug("FIXME: got AMF3 data!");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9865: initialize as an empty Date class.,
rob <=