Conflicts: .project COPYRIGHT Doc/Manual/style.css Examples/Makefile.in Examples/test-suite/common.mk Lib/typemaps/strings.swg Makefile.in Source/DOH/fio.c Source/Makefile.am Source/Modules/emit.cxx Source/Modules/javascript.cxx configure.in git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
28 lines
518 B
C++
28 lines
518 B
C++
#include <iostream>
|
|
|
|
void f() {
|
|
std::cout << "Called f()." << std::endl;
|
|
}
|
|
|
|
void f(int val) {
|
|
std::cout << "Called f(int)." << std::endl;
|
|
}
|
|
void f(int val1, int val2) {
|
|
std::cout << "Called f(int, int)." << std::endl;
|
|
}
|
|
|
|
void f(const char* s) {
|
|
std::cout << "Called f(const char*)." << std::endl;
|
|
}
|
|
|
|
void f(bool val) {
|
|
std::cout << "Called f(bool)." << std::endl;
|
|
}
|
|
|
|
void f(long val) {
|
|
std::cout << "Called f(long)." << std::endl;
|
|
}
|
|
|
|
void f(double val) {
|
|
std::cout << "Called f(double)." << std::endl;
|
|
}
|