Ignore:
Timestamp:
11/24/11 16:07:20 (8 years ago)
Author:
mario
Message:

use again a bit stricter types, and use const reference for some JVMLinkObjects (instead of new and delete objects)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/legacy/jvmlink/src/main/c++/JVMLinkObject.h

    r7813 r7818  
    7171public: 
    7272        JVMLinkObject(const std::string&); 
    73         JVMLinkObject(const std::string&, Type, void*); 
    74         JVMLinkObject(const std::string&, Type, int, void*); 
     73        JVMLinkObject(const std::string&, Type, const void*); 
     74        JVMLinkObject(const std::string&, Type, int, const void*); 
    7575 
    7676        ~JVMLinkObject(void); 
     
    7979        int size, length; 
    8080        Type type, insideType; 
    81         void* data; 
     81        const void* data; 
    8282 
    8383        int getDataAsInt(); 
Note: See TracChangeset for help on using the changeset viewer.