• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Copyright 2011 The Go Authors. All rights reserved.
2   Use of this source code is governed by a BSD-style
3   license that can be found in the LICENSE file.  */
4
5/* An example of writing a C++ virtual function in Go.  */
6
7%module(directors="1") callback
8
9%{
10#include <string>
11#include "main.h"
12%}
13
14%include "std_string.i"
15
16%feature("director");
17
18%include "main.h"
19