Merge pull request #15622 from Paulloz/fix-mono-build

Fix mono build
This commit is contained in:
Rémi Verschelde 2018-01-12 14:45:49 +01:00 committed by GitHub
commit ab9f7f4fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2585,7 +2585,7 @@ void _Engine::set_target_fps(int p_fps) {
Engine::get_singleton()->set_target_fps(p_fps);
}
float _Engine::get_target_fps() const {
int _Engine::get_target_fps() const {
return Engine::get_singleton()->get_target_fps();
}

View File

@ -656,7 +656,7 @@ public:
int get_iterations_per_second() const;
void set_target_fps(int p_fps);
float get_target_fps() const;
int get_target_fps() const;
float get_frames_per_second() const;

View File

@ -155,7 +155,7 @@ void PacketPeerStream::_set_stream_peer(REF p_peer) {
void PacketPeerStream::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_stream_peer", "peer"), &PacketPeerStream::_set_stream_peer);
ClassDB::bind_method(D_METHOD("set_stream_peer", "peer"), &PacketPeerStream::set_stream_peer);
ClassDB::bind_method(D_METHOD("get_stream_peer"), &PacketPeerStream::get_stream_peer);
ClassDB::bind_method(D_METHOD("set_input_buffer_max_size", "max_size_bytes"), &PacketPeerStream::set_input_buffer_max_size);
ClassDB::bind_method(D_METHOD("set_output_buffer_max_size", "max_size_bytes"), &PacketPeerStream::set_output_buffer_max_size);