mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
enhancement and fixes for D binding
This commit is contained in:
parent
ea3b9cbbf9
commit
917ef4cff2
2 changed files with 40 additions and 40 deletions
|
@ -90,12 +90,16 @@ extern (C) MatchVar varTypes[];
|
|||
/**
|
||||
* Get the type of variable name.
|
||||
*/
|
||||
Bool isRoutingVar(char *name, size_t len);
|
||||
Bool psyc_isRoutingVar(char *name, size_t len);
|
||||
|
||||
alias psyc_isRoutingVar isRoutingVar;
|
||||
|
||||
/**
|
||||
* Get the type of variable name.
|
||||
*/
|
||||
Type getVarType(char *name, size_t len);
|
||||
Type psyc_getVarType(char *name, size_t len);
|
||||
|
||||
alias psyc_getVarType getVarType;
|
||||
|
||||
/**
|
||||
* Checks if long keyword string inherits from short keyword string.
|
||||
|
|
|
@ -35,8 +35,6 @@ enum ParseRC
|
|||
ERROR_LENGTH = -2,
|
||||
/// Error in packet.
|
||||
ERROR = -1,
|
||||
// Success, used internally.
|
||||
SUCCESS = 0,
|
||||
/// Buffer contains insufficient amount of data.
|
||||
/// Fill another buffer and concatenate it with the end of the current buffer,
|
||||
/// from the cursor position to the end.
|
||||
|
@ -75,10 +73,8 @@ enum ParseRC
|
|||
/// Content parsing done in one go, value contains the whole content.
|
||||
/// Used when ROUTING_ONLY is set.
|
||||
CONTENT = 10,
|
||||
// Binary value parsing complete, used internally.
|
||||
COMPLETE = 11,
|
||||
// Binary value parsing incomplete, used internally.
|
||||
INCOMPLETE = 12,
|
||||
/// Finished parsing packet.
|
||||
COMPLETE = 11
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue