summaryrefslogtreecommitdiff
path: root/source4/pidl/ref_notes.txt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-07 19:03:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:48 -0500
commitecf2c1effb778a95fd863a5e87ec7e378d228b57 (patch)
tree8b94782e07399490d6390e066c557af8c04aefc1 /source4/pidl/ref_notes.txt
parent2811e18da0d8dae2e2560c11a28450ae8b2a98d5 (diff)
downloadsamba-ecf2c1effb778a95fd863a5e87ec7e378d228b57.tar.gz
samba-ecf2c1effb778a95fd863a5e87ec7e378d228b57.tar.bz2
samba-ecf2c1effb778a95fd863a5e87ec7e378d228b57.zip
r21222: Merge a couple of pidl fixes:
* Pidl will now warn when trying to use pointers as integers in expressions. * "subcontext()" is now marked as deprecated. The alternatives, transmit_as() / represent_as() should be available soon. * More tests. * Remove some unused code in smbtorture. (This used to be commit 37c0da541e3962164d5af3e3c9560803a733f3b7)
Diffstat (limited to 'source4/pidl/ref_notes.txt')
-rw-r--r--source4/pidl/ref_notes.txt220
1 files changed, 0 insertions, 220 deletions
diff --git a/source4/pidl/ref_notes.txt b/source4/pidl/ref_notes.txt
deleted file mode 100644
index 00f44fddb7..0000000000
--- a/source4/pidl/ref_notes.txt
+++ /dev/null
@@ -1,220 +0,0 @@
-some experiments with ref ptrs
-
-
-
- typedef struct {
- short x;
- } xstruct;
-
- uint16 echo_TestRef([in] xstruct foo);
-
- short v = 13;
- xstruct r;
- r.x = v;
- echo_TestRef(r);
-
- [0D 00]
-
-----------------------------------------------------
- typedef struct {
- short *x;
- } xstruct;
-
- uint16 echo_TestRef([in] xstruct foo);
-
- short v = 13;
- xstruct r;
- r.x = &v;
- echo_TestRef(r);
-
- [PP PP PP PP 0D 00]
-
-
- xstruct r;
- r.x = NULL;
- echo_TestRef(r);
-
- [00 00 00 00]
-
-----------------------------------------------------
- typedef struct {
- [ref] short *x;
- } xstruct;
-
- uint16 echo_TestRef([in] xstruct foo);
-
- short v = 13;
- xstruct r;
- r.x = &v;
- echo_TestRef(r);
-
- [XX XX XX XX 0D 00]
-
-
- xstruct r;
- r.x = NULL;
- echo_TestRef(r);
-
- [client runtime error 0x6f4]
-
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- uint16 echo_TestRef([in] xstruct *foo);
-
- short v = 13;
- xstruct r;
- r.x = v;
- echo_TestRef(&r);
-
- [0D 00]
-
-
- echo_TestRef(NULL);
-
- [client runtime error 0x6f4]
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- uint16 echo_TestRef([in,ref] xstruct *foo);
-
- short v = 13;
- xstruct r;
- r.x = v;
- echo_TestRef(&r);
-
- [0D 00]
-
-
- echo_TestRef(NULL);
-
- [client runtime error 0x6f4]
-
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- uint16 echo_TestRef([in,unique] xstruct *foo);
-
- short v = 13;
- xstruct r;
- r.x = v;
- echo_TestRef(&r);
-
- [PP PP PP PP 0D 00]
-
-
- echo_TestRef(NULL);
-
- [00 00 00 00]
-
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- uint16 echo_TestRef([out] xstruct foo);
-
- [idl compiler error]
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- void echo_TestRef([out] xstruct *foo);
-
- xstruct r;
- echo_TestRef(&r);
- r.x -> 13;
-
- [0D 00]
-
-
- echo_TestRef(NULL);
-
- [client runtime error 0x6f4]
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- void echo_TestRef([out,ref] xstruct *foo);
-
- xstruct r;
- echo_TestRef(&r);
- r.x -> 13;
-
- [0D 00]
-
-
- echo_TestRef(NULL);
-
- [client runtime error 0x6f4]
-
-----------------------------------------------------
- typedef struct {
- short x;
- } xstruct;
-
- void echo_TestRef([out,unique] xstruct *foo);
-
- [idl compiler error]
-
-
-----------------------------------------------------
- void echo_TestRef([in] short **foo);
-
- short v = 13;
- short *pv = &v;
-
- echo_TestRef(&pv);
-
- [PP PP PP PP 0D 00]
-
-
- short *pv = NULL;
-
- echo_TestRef(&pv);
-
- [00 00 00 00]
-
-
- echo_TestRef(NULL);
-
- [client runtime error 0x6f4]
-
-
-----------------------------------------------------
- void echo_TestRef([in,ref] short **foo);
-
- short v = 13;
- short *pv = &v;
-
- echo_TestRef(&pv);
-
- [PP PP PP PP 0D 00]
-
-
- short *pv = NULL;
-
- echo_TestRef(&pv);
-
- [00 00 00 00]
-
-
- echo_TestRef(NULL);
-
- [client runtime error 0x6f4]
-
-