peterbell10
a4dbb5c582
Prefer static_cast to reinterpret_cast ( #4223 )
...
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.
reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2018-05-02 08:50:36 +01:00
Lukas Pioch
4691bc5a29
Removed double includes ( #3885 )
2017-08-02 19:57:20 +01:00
Mattes D
399ea0bf1d
cNetwork bindings: Use ApiParamError and CheckParam(Static)Self.
2017-06-26 10:52:59 +02:00
Mattes D
5ca371bb9a
cUrlClient: Exported to Lua API.
2016-08-23 13:20:43 +02:00
Mattes D
9493488e48
cLuaState: Added direct support for pushing a nil constant.
2016-08-22 20:09:56 +02:00
Mattes D
2d58789d66
Converted cLuaState::cTableRef to use cTrackedRef.
...
This makes the table-based callbacks resistent to LuaState unloads and safer to use.
2016-08-13 21:16:21 +02:00
LogicParrot
ca6ef58b1e
Bulk clearing of whitespace
2016-02-05 23:50:18 +02:00
Julian Laubstein
5af10b8cd3
Fixed warning regarding an uninitialized value
2015-12-15 17:20:34 +01:00
Mattes D
6c7f51a008
Fixed bindings for cTCPLink:StartTLSClient().
...
The bindings used to enforce client cert, now it's optional.
2015-10-08 16:14:50 +02:00
Julian Laubstein
dd5201c29e
Some warning fixes
2015-08-18 08:49:00 +02:00
tycho
76a3165f09
Fix comments
2015-05-24 14:58:24 +01:00
tycho
480052c058
Added LuaState support for all integral types
...
All so added error handling for out of range values
2015-05-19 17:09:05 +01:00
Mattes D
15771e4759
Moved cWorld manual bindings out into a separate file.
2015-05-13 11:30:57 +02:00
Mattes D
c758482ece
cNetwork: Added EnumLocalIPAddresses() function.
2015-02-22 10:51:16 +01:00
Mattes D
9c5162041e
cNetwork: Added UDP API.
2015-02-20 14:28:05 +01:00
Mattes D
557adf3be9
Exported TLS server start on cTCPLink to Lua API.
2015-02-13 23:18:22 +01:00
Mattes D
b8bf795dd1
Exported cTCPLink:Close and :Shutdown() to Lua API.
2015-02-13 18:31:54 +01:00
Mattes D
16636ff6e2
LuaAPI: Added client TLS support for TCP links.
2015-02-12 20:05:55 +01:00
Mattes D
adf0020cd4
APIDump: Added cNetwork documentation.
2015-02-06 18:44:05 +01:00
Mattes D
014b96adb3
Exported cServerHandle and cNetwork:Listen to Lua.
...
Also added an example to the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
17498a97a2
cNetwork: Exported lookup functions to Lua API.
...
Also added an example in the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
360c632e36
cNetwork: Exported the Connect() method and cTCPLink class to Lua.
2015-02-04 08:40:50 +01:00