Commit 4b79dd2a authored by Nguyen, Thien Minh's avatar Nguyen, Thien Minh
Browse files

Fixed code comments



Signed-off-by: default avatarThien Nguyen <nguyentm@ornl.gov>
parent 1ebb272f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4,14 +4,12 @@
extern "C" {
Array *__quantum__rt__array_create_1d(int32_t itemSizeInBytes,
                                      int64_t count_items) {
  // TODO
  if (verbose)
    std::cout << "CALL: " << __PRETTY_FUNCTION__ << "\n";
  return new Array(count_items, itemSizeInBytes);
}

int64_t __quantum__rt__array_get_size_1d(Array *state1) {
  // TODO
  if (verbose)
    std::cout << "CALL: " << __PRETTY_FUNCTION__ << "\n";
  return state1->size();
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ extern "C" {
int8_t *__quantum__rt__tuple_create(int64_t size) {
  if (verbose)
    std::cout << "CALL: " << __PRETTY_FUNCTION__ << "\n";
  // Leak..
  Array *tuplePtrArray = new Array(size);
  return reinterpret_cast<int8_t *>(tuplePtrArray);
}