develooper Front page | perl.perl5.porters | Postings from August 2001

[PATCH] sharedsv cleanups

From:
Arthur Bergman
Date:
August 13, 2001 06:09
Subject:
[PATCH] sharedsv cleanups
Message ID:
005a01c123f9$dfe525d0$21000a0a@vogw2kdev
sharedsv_unlock_scope is not in the public API

fixed the function names in apidoc.

Arthur

--- embed.pl~ Mon Aug 13 14:48:55 2001
+++ embed.pl Mon Aug 13 14:57:49 2001
@@ -2475,7 +2475,7 @@
 Adp    |shared_sv*    |sharedsv_find        |SV* sv
 Adp    |void        |sharedsv_lock        |shared_sv* ssv
 Adp    |void        |sharedsv_unlock    |shared_sv* ssv
-Adp    |void        |sharedsv_unlock_scope    |shared_sv* ssv
+p      |void        |sharedsv_unlock_scope    |shared_sv* ssv
 Adp    |void        |sharedsv_thrcnt_inc    |shared_sv* ssv
 Adp    |void        |sharedsv_thrcnt_dec    |shared_sv* ssv
 #endif
--- sharedsv.c.old Mon Aug 13 14:54:40 2001
+++ sharedsv.c Mon Aug 13 14:55:59 2001
@@ -33,7 +33,7 @@
  */
 
 /*
-=for apidoc Perl_sharedsv_init
+=for apidoc sharedsv_init
 
 Saves a space for keeping SVs wider than an interpreter, 
 currently only stores a pointer to the first interpreter.
@@ -48,7 +48,7 @@
 }
 
 /*
-=for apidoc Perl_sharedsv_new
+=for apidoc sharedsv_new
 
 Allocates a new shared sv struct, you must yourself create the SV/AV/HV.
 =cut
@@ -67,7 +67,7 @@
 
 
 /*
-=for apidoc Perl_sharedsv_find
+=for apidoc sharedsv_find
 
 Tries to find if a given SV has a shared backend, either by
 looking at magic, or by checking if it is tied again threads::shared.
@@ -84,7 +84,7 @@
 }
 
 /*
-=for apidoc Perl_sharedsv_lock
+=for apidoc sharedsv_lock
 
 Recursive locks on a sharedsv. 
 Locks are dynamicly scoped at the level of the first lock. 
@@ -107,7 +107,7 @@
 }
 
 /*
-=for apidoc Perl_sharedsv_unlock
+=for apidoc sharedsv_unlock
 
 Recursively unlocks a shared sv.
 
@@ -137,7 +137,7 @@
 }
 
 /*
-=for apidoc Perl_sharedsv_thrcnt_inc
+=for apidoc sharedsv_thrcnt_inc
 
 Increments the threadcount of a sharedsv. 
 =cut
@@ -151,7 +151,7 @@
 }
 
 /*
-=for apidoc Perl_sharedsv_thrcnt_dec
+=for apidoc sharedsv_thrcnt_dec
 
 Decrements the threadcount of a shared sv. When a threads frontend is freed
 this function should be called.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About