diff options
Diffstat (limited to 'doc/rdoc/classes/Mongrel/URIClassifier.src/M000015.html')
-rw-r--r-- | doc/rdoc/classes/Mongrel/URIClassifier.src/M000015.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/doc/rdoc/classes/Mongrel/URIClassifier.src/M000015.html b/doc/rdoc/classes/Mongrel/URIClassifier.src/M000015.html deleted file mode 100644 index 4fafe2b..0000000 --- a/doc/rdoc/classes/Mongrel/URIClassifier.src/M000015.html +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html> -<head> - <title>unregister (Mongrel::URIClassifier)</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> -</head> -<body class="standalone-code"> - <pre>/** - * call-seq: - * uc.unregister("/someuri") - * - * Yep, just removes this uri and it's handler from the trie. - */ -VALUE URIClassifier_unregister(VALUE self, VALUE uri) -{ - void *handler = NULL; - struct tst *tst = NULL; - DATA_GET(self, struct tst, tst); - - handler = tst_delete((unsigned char *)StringValueCStr(uri), tst); - - if(handler) { - rb_hash_delete(rb_iv_get(self, "handler_map"), uri); - - return (VALUE)handler; - } else { - return Qnil; - } -}</pre> -</body> -</html>
\ No newline at end of file |