File: d.cc

package info (click to toggle)
pybindgen 0.20.0%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,932 kB
  • sloc: python: 15,981; cpp: 1,889; ansic: 617; makefile: 86; sh: 4
file content (27 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "d.h"
#include <iostream>

struct D *DCreate (void)
{
  std::cout << "DCreate" << std::endl;
  return new D ();
}
void DDoA (struct D *d)
{
  std::cout << "DDoA" << std::endl;
  d++;
}
void DDoB (struct D &d)
{
  std::cout << "DDoB" << std::endl;
  d.d++;
}
void DDoC (const struct D &d)
{
  std::cout << "DDoC: " << d.d << std::endl;
}
void DDestroy (struct D *d)
{
  std::cout << "DDestroy" << std::endl;
  d++;
}