Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							144831b5ae 
							
						 
					 
					
						
						
							
							allow constants for class names in destructor macro  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-26 11:57:28 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							89989b0f56 
							
						 
					 
					
						
						
							
							destructor macro and helpers for blessed objects  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-26 11:50:16 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							2991a46a31 
							
						 
					 
					
						
						
							
							fix #[export(name=...)], drop deprecated make_package  
						
						 
						
						... 
						
						
						
						The `make_package` macro is tedious to use. We now simply
depend on new-enough rustc for `package` to work.
The change to #[export] allows writing:
    #[export(name = "DESTROY")]
    fn destroy(#[raw] this: Value) { ... }
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-25 14:35:34 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							ca00cfcc9a 
							
						 
					 
					
						
						
							
							nicer test for bless  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-25 12:23:34 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							f3127578ad 
							
						 
					 
					
						
						
							
							destructors work...  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-24 11:18:36 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							913a8a72ce 
							
						 
					 
					
						
						
							
							support functions without return values  
						
						 
						
						... 
						
						
						
						this makes for surprisingly ugly code
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-24 11:05:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							0cdb12e277 
							
						 
					 
					
						
						
							
							add support for raw parameters  
						
						 
						
						... 
						
						
						
						#[export]
    fn foo(#[raw] this: Value) -> Result<(), Error>;
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-24 10:36:03 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							29e61fa65e 
							
						 
					 
					
						
						
							
							add 'raw_return' function attribute  
						
						 
						
						... 
						
						
						
						A function declared with a raw_return attribute like this:
    #[export(raw_return)]
    fn foo() -> Result<Value, Error>;
will not perform serialization on the 'Value', but return
the "raw" value to perl. This allows returning blessed
values.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-11-24 09:37:59 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							9525acd643 
							
						 
					 
					
						
						
							
							add some function name mangling to xs exports  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-10-16 11:08:50 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							fb6b493d63 
							
						 
					 
					
						
						
							
							switch from failure to anyhow  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-04-20 12:38:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							b813397be8 
							
						 
					 
					
						
						
							
							macro: derive library name from Cargo.toml  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-01-10 12:24:32 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							8b8dd4a9c6 
							
						 
					 
					
						
						
							
							test: add explaining comment  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-01-10 10:49:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							06a18771dd 
							
						 
					 
					
						
						
							
							make_package macro implementation  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-01-10 10:47:42 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							f7cc8c37fc 
							
						 
					 
					
						
						
							
							import  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2020-01-09 15:01:14 +01:00