gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog server/vm/with_stack_entry.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/vm/with_stack_entry.h
Date: Tue, 19 Dec 2006 12:05:30 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/19 12:05:30

Modified files:
        .              : ChangeLog 
        server/vm      : with_stack_entry.h 

Log message:
                * server/vm/with_stack_entry.h: made all data members private.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1969&r2=1.1970
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/with_stack_entry.h?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1969
retrieving revision 1.1970
diff -u -b -r1.1969 -r1.1970
--- ChangeLog   19 Dec 2006 12:01:02 -0000      1.1969
+++ ChangeLog   19 Dec 2006 12:05:30 -0000      1.1970
@@ -1,5 +1,6 @@
 2006-12-19 Sandro Santilli <address@hidden>
 
+       * server/vm/with_stack_entry.h: made all data members private.
        * server/as_environment.{cpp,h}: ScopeStack typedef, improved
          dox on variable setters/getters.
        * server/asobj/Makefile.am: added libltdl include dir.

Index: server/vm/with_stack_entry.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/with_stack_entry.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- server/vm/with_stack_entry.h        24 Nov 2006 09:04:25 -0000      1.1
+++ server/vm/with_stack_entry.h        19 Dec 2006 12:05:30 -0000      1.2
@@ -39,35 +39,37 @@
 class with_stack_entry
 {
 public:        
-       // should be private
-       boost::intrusive_ptr<as_object> m_object;
-       
        with_stack_entry()
                :
-               m_object(NULL),
-               m_block_end_pc(0)
+               _object(NULL),
+               _block_end_pc(0)
        {
        }
 
        with_stack_entry(as_object* obj, size_t end)
                :
-               m_object(obj),
-               m_block_end_pc(end)
+               _object(obj),
+               _block_end_pc(end)
        {
        }
 
        size_t end_pc()
        {
-               return m_block_end_pc;
+               return _block_end_pc;
        }
 
        const as_object* object() const
        {
-               return m_object.get();
+               return _object.get();
        }
 
 private:
-       size_t m_block_end_pc;
+
+       boost::intrusive_ptr<as_object> _object;
+       
+       size_t _block_end_pc;
+
+       
 
 };
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]