Mercurial > vim
comparison src/if_ruby.c @ 6357:7623d953d3bc v7.4.511
updated for version 7.4.511
Problem: Generating proto for if_ruby.c uses type not defined elsewhere.
Solution: Do not generate a prototype for
rb_gc_writebarrier_unprotect_promoted()
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 12 Nov 2014 16:05:04 +0100 |
parents | b0a9df477096 |
children | ee28ddfc7b7c |
comparison
equal
deleted
inserted
replaced
6356:beea2a73a246 | 6357:7623d953d3bc |
---|---|
416 return (long)RSHIFT((SIGNED_VALUE)(x),1); | 416 return (long)RSHIFT((SIGNED_VALUE)(x),1); |
417 } | 417 } |
418 # endif | 418 # endif |
419 # endif | 419 # endif |
420 | 420 |
421 # if defined(USE_RGENGC) && USE_RGENGC | 421 /* Do not generate a prototype here, VALUE isn't always defined. */ |
422 # if defined(USE_RGENGC) && USE_RGENGC && !defined(PROTO) | |
422 void rb_gc_writebarrier_unprotect_promoted_stub(VALUE obj) | 423 void rb_gc_writebarrier_unprotect_promoted_stub(VALUE obj) |
423 { | 424 { |
424 return dll_rb_gc_writebarrier_unprotect_promoted(obj); | 425 return dll_rb_gc_writebarrier_unprotect_promoted(obj); |
425 } | 426 } |
426 # endif | 427 # endif |