Displaying 5 results from an estimated 5 matches for "__call".
2008 Dec 28
3
php's __call for ruby? or better approach?
...thods like 1_1, 1_1=, 1_2, 1_2= - getters and setters for each
lesson of each day.
By the way, the timetable has a result set from active record as a
private variable, and I turned it into hash, so that I could access it
by @subject_lessons[''1_1''] etc.
In PHP, there''s a __call method, which would do something like this:
function __call($function, $arguments)
{
$this->subject_lessons[$function] = $arguments[0];
}
So I need something like this in Ruby. Hope someone will help me :)
Thank you guys very much! :)
---
By the way Ruby is beautiful but it is pretty diffe...
2008 Apr 30
1
Python bindings smoketest error
...smoketest. I'm using latest Swig and Python
bindings from SVN-HEAD:
File "smoketest.py", line 23, in <module>
import xapian
File
"C:\work\xapian\xapian-SVN\xapian-core\win32\Release\Python\xapian.py",
line 2099, in <module>
ValueRangeProcessor.__call__ = ValueRangeProcessor.__call
AttributeError: type object 'ValueRangeProcessor' has no attribute '__call'
This is the very last line in xapian.py, if that's relevant!
Cheers
Charlie
2020 May 23
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
...terializationUnit,
std::__1::default_delete<llvm::orc::MaterializationUnit> >&&) at
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:4425
#23 0x00000001062eaef8 in void
std::__1::__invoke_void_return_wrapper<void>::__call<void
(*&)(llvm::orc::JITDylib&,
std::__1::unique_ptr<llvm::orc::MaterializationUnit,
std::__1::default_delete<llvm::orc::MaterializationUnit> >),
llvm::orc::JITDylib&, std::__1::unique_ptr<llvm::orc::MaterializationUnit,
std::__1::default_delete<llvm::orc::Materiali...
2020 Jun 06
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
...gt;&&) at
>>>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:4425
>>>>>
>>>>> #23 0x00000001062eaef8 in void
>>>>> std::__1::__invoke_void_return_wrapper<void>::__call<void
>>>>> (*&)(llvm::orc::JITDylib&,
>>>>> std::__1::unique_ptr<llvm::orc::MaterializationUnit,
>>>>> std::__1::default_delete<llvm::orc::MaterializationUnit> >),
>>>>> llvm::orc::JITDylib&, std::__1::unique_ptr...
2020 Jun 20
1
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
...> >&&) at
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:4425
> >>>>>>>
> >>>>>>> #23 0x00000001062eaef8 in void
> std::__1::__invoke_void_return_wrapper<void>::__call<void
> (*&)(llvm::orc::JITDylib&,
> std::__1::unique_ptr<llvm::orc::MaterializationUnit,
> std::__1::default_delete<llvm::orc::MaterializationUnit> >),
> llvm::orc::JITDylib&, std::__1::unique_ptr<llvm::orc::MaterializationUnit,
> std::__1::default_delet...