File: Animal.xsp

package info (click to toggle)
libextutils-xspp-perl 0.1800-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 992 kB
  • sloc: perl: 8,324; cpp: 125; makefile: 2
file content (15 lines) | stat: -r--r--r-- 203 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "Animal.h"

%module{XSpp::Example};

class Animal
{
  %name{new} Animal(std::string& name);
  ~Animal();

  void MakeSound();
  void SetName(std::string& newName);
  std::string GetName();
};