Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lexborisov/perl-html-myhtml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorlex <lexinhell@gmail.com>2016-03-29 13:10:15 +0300
committerlex <lexinhell@gmail.com>2016-03-29 13:10:15 +0300
commitb7a57ac702515d78f131f2f6055bab1ea9713c01 (patch)
tree0a3eef559c7677c64f3f75dab107be1b84d49619 /source
parent198ddf7de979bb88d0c9191fa41b4fd0f88db6c5 (diff)
Removed deprecated structures
Diffstat (limited to 'source')
-rw-r--r--source/myhtml/api.h6
-rw-r--r--source/myhtml/myosi.h7
2 files changed, 1 insertions, 12 deletions
diff --git a/source/myhtml/api.h b/source/myhtml/api.h
index 1a5c22f..2b16860 100644
--- a/source/myhtml/api.h
+++ b/source/myhtml/api.h
@@ -52,12 +52,6 @@
extern "C" {
#endif
-
-typedef enum {
- myfalse = 0,
- mytrue = 1
-} MyHTML_DEPRECATED(mybool_t, "use bool");
-
/**
* encodings type
*/
diff --git a/source/myhtml/myosi.h b/source/myhtml/myosi.h
index 0f72973..24c15af 100644
--- a/source/myhtml/myosi.h
+++ b/source/myhtml/myosi.h
@@ -63,16 +63,11 @@ extern "C" {
__myhtml__->__lenn__++; \
if(__myhtml__->__lenn__ == __myhtml__->__sizen__) { \
__myhtml__->__sizen__ += __size__; \
- __myhtml__->__point__ = (__strcn__*)myrealloc(__myhtml__->__point__, \
+ __myhtml__->__point__ = (__strcn__*)myrealloc(__myhtml__->__point__, \
sizeof(__strcn__) * __myhtml__->__sizen__); \
}
-typedef enum {
- myfalse = 0,
- mytrue = 1
-} MyHTML_DEPRECATED(mybool_t, "use bool");
-
// encoding
// https://encoding.spec.whatwg.org/#the-encoding
// https://encoding.spec.whatwg.org/#legacy-single-byte-encodings