mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
added note about #include <enet/enet.h>
This commit is contained in:
parent
5f50ac3c75
commit
7851c6305b
1 changed files with 6 additions and 0 deletions
|
@ -17,11 +17,17 @@
|
|||
|
||||
@section Initialization Initialization
|
||||
|
||||
You should include the file <enet/enet.h> when using ENet. Do not
|
||||
include <enet.h> without the directory prefix, as this may cause
|
||||
file name conflicts on some systems.
|
||||
|
||||
Before using ENet, you must call enet_initialize() to initialize the
|
||||
library. Upon program exit, you should call enet_deinitialize() so
|
||||
that the library may clean up any used resources.
|
||||
|
||||
@code
|
||||
#include <enet/enet.h>
|
||||
|
||||
int
|
||||
main (int argc, char ** argv)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue