diff options
| author | Joakim Verona | 2012-12-26 16:51:58 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-26 16:51:58 +0100 |
| commit | 08b03cde387226280ab817f5200f7e29d64b6bb0 (patch) | |
| tree | e5fe60a20e83bcf252a9bb81a6ff5a7b3f8616a6 /src/alloc.c | |
| parent | 399f1f189a2810e95e1a91f14d608f4b47c3e2e0 (diff) | |
| parent | 8855dfa5d5ed12aafbe4f8d0185bd74e82437edf (diff) | |
| download | emacs-08b03cde387226280ab817f5200f7e29d64b6bb0.tar.gz emacs-08b03cde387226280ab817f5200f7e29d64b6bb0.zip | |
auto upstream
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/alloc.c b/src/alloc.c index 5a3ba465d81..f33c423ece7 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4721,12 +4721,12 @@ valid_pointer_p (void *p) | |||
| 4721 | #endif | 4721 | #endif |
| 4722 | } | 4722 | } |
| 4723 | 4723 | ||
| 4724 | /* Return 2 if OBJ is a killed or special buffer object. | 4724 | /* Return 2 if OBJ is a killed or special buffer object, 1 if OBJ is a |
| 4725 | Return 1 if OBJ is a valid lisp object. | 4725 | valid lisp object, 0 if OBJ is NOT a valid lisp object, or -1 if we |
| 4726 | Return 0 if OBJ is NOT a valid lisp object. | 4726 | cannot validate OBJ. This function can be quite slow, so its primary |
| 4727 | Return -1 if we cannot validate OBJ. | 4727 | use is the manual debugging. The only exception is print_object, where |
| 4728 | This function can be quite slow, | 4728 | we use it to check whether the memory referenced by the pointer of |
| 4729 | so it should only be used in code for manual debugging. */ | 4729 | Lisp_Save_Value object contains valid objects. */ |
| 4730 | 4730 | ||
| 4731 | int | 4731 | int |
| 4732 | valid_lisp_object_p (Lisp_Object obj) | 4732 | valid_lisp_object_p (Lisp_Object obj) |