File: b.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 (15 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "b.h"
#include <iostream>

void BDoA (struct B b)
{
  std::cout << "BDoA b_a=" << b.b_a << ", b_b=" << b.b_b << std::endl;
}
struct B BDoB (void)
{
  std::cout << "BDoB" << std::endl;
  struct B b;
  b.b_a = 1;
  b.b_b = 2;
  return b;
}