File: types.h

package info (click to toggle)
rust-rust-apt 0.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 620 kB
  • sloc: cpp: 703; makefile: 8
file content (14 lines) | stat: -rw-r--r-- 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <apt-pkg/indexfile.h>
#include <memory>
#include "rust/cxx.h"

using namespace rust;

template <typename T>
using UniquePtr = std::unique_ptr<T>;

// Forward declarations for progress.rs
struct ItemDesc;
struct PkgAcquire;
struct AcqWorker;