]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - lib/c++/orb.cc
Initial struct marshalling.
[polintos/scott/priv.git] / lib / c++ / orb.cc
index 8533f52347146f677a142a539cca850b675819e3..64df51756c86939a8106b11d8bad6137533bd617 100644 (file)
@@ -48,6 +48,8 @@ namespace RunTime {
                return ptr;
        };
 
+//     ::System::Object create_wrapper(
+
        namespace Priv {
                typedef void (*MethodEntry)(ParamInfoBlock *pib);
 
@@ -64,7 +66,7 @@ namespace RunTime {
                        return reinterpret_cast<unsigned long>(__builtin_return_address(0));
                }
 
-               void exception_to_array(::System::VStruct *ex, Array<uint8_t> *ar)
+               void exception_to_array(::System::VStruct *ex, Array<uint8_t, ORBMM> *ar)
                {
                        // FIXME: marshall struct
                }
@@ -93,7 +95,7 @@ namespace RunTime {
 extern "C" void abort();
 
 extern "C" void handle_message(::System::RunTime::ParamInfoBlock *pib,
-                               ::System::RunTime::Array<uint8_t> *ex_arr)
+                               ::System::RunTime::Array<uint8_t, ::System::RunTime::ORBMM> *ex_arr)
 {
        try {
                ::System::RunTime::Priv::handle_message(pib);