File: func.cpp

package info (click to toggle)
libclaw 1.7.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,080 kB
  • sloc: cpp: 13,287; sh: 227; makefile: 8
file content (20 lines) | stat: -rw-r--r-- 322 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
/*
  Example library for the claw::dynamic_library class.
*/

#include <string>
#include <iostream>

extern "C"
{
  void first_function( const std::string& s )
  {
    std::cout << "first : " << s << std::endl;
  }

  void second_function( const std::string& s )
  {
    std::cout << "second : " << s << std::endl;
  }
}