return 42;
}
-
/**
* replay - a "read" method to get a previously recorded hello
*
cls_method_handle_t h_record_hello;
cls_method_handle_t h_replay;
cls_method_handle_t h_write_return_data;
+ cls_method_handle_t h_writes_dont_return_data;
cls_method_handle_t h_write_too_much_return_data;
cls_method_handle_t h_turn_it_to_11;
cls_method_handle_t h_bad_reader;
cls_register_cxx_method(h_class, "write_return_data",
CLS_METHOD_WR,
write_return_data, &h_write_return_data);
+ // legacy alias for this method for pre-octopus clients
+ cls_register_cxx_method(h_class, "writes_dont_return_data",
+ CLS_METHOD_WR,
+ write_return_data, &h_write_return_data);
cls_register_cxx_method(h_class, "write_too_much_return_data",
CLS_METHOD_WR,
write_too_much_return_data, &h_write_too_much_return_data);