mirror of https://github.com/swig/swig
26 lines
367 B
C++
26 lines
367 B
C++
/* File : example.cpp */
|
|
|
|
#include <stdio.h>
|
|
#include "example.h"
|
|
|
|
void Engine::start()
|
|
{
|
|
printf("[C++] Engine::start()\n");
|
|
}
|
|
|
|
void Engine::stop()
|
|
{
|
|
printf("[C++] Engine::stop()\n");
|
|
}
|
|
|
|
void Engine::accelerate(float f)
|
|
{
|
|
printf("[C++] Engine::accelerate(%f)\n",f);
|
|
}
|
|
|
|
void Engine::decelerate(float f)
|
|
{
|
|
printf("[C++] Engine::decelerate(%f)\n",f);
|
|
}
|
|
|