From 2671ea4f911556efb4120e066abb57aa110b443f Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Thu, 12 Oct 2006 03:49:15 +0000 Subject: [PATCH] added in_sint8 --- common/parse.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/parse.h b/common/parse.h index 3718e9cc..5c7e50ba 100644 --- a/common/parse.h +++ b/common/parse.h @@ -111,6 +111,13 @@ struct stream (s)->end = (s)->p; \ } +/******************************************************************************/ +#define in_sint8(s, v) \ +{ \ + (v) = *((signed char*)((s)->p)); \ + (s)->p++; \ +} + /******************************************************************************/ #define in_uint8(s, v) \ { \