pike.git/
lib/
modules/
ADT.pmod/
module.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2003-03-08
2003-03-08 20:01:12 by Martin Nilsson <mani@lysator.liu.se>
1b3d4e6279c27a74f521469c3b0e225d14f30ab0 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Strict types
Rev: lib/modules/ADT.pmod/module.pmod:1.4
1:
#pike __REAL_VERSION__
+
#pragma strict_types
inherit _ADT; //! String buffer with the possibility to read and write data
102:
//! Reads an unsigned integer from the buffer. int(0..) get_uint(int len) {
-
mixed
i;
+
int(0..)
i;
if ( (sizeof(buffer) - index) < len) error("No data.\n"); sscanf(buffer, "%*" + (string) index +"s%" + (string) len + "c", i);