Agreed. I just removed it and appropriately changed the wiki to not
mention it anymore.
Laurent
On Feb 25, 2009, at 3:34 AM, Eloy Duran wrote:
No, please just use trunk. You can switch the "location" of a
checkout: http://svnbook.red-bean.com/en/1.0/re27.html
Laurent, should we remove the
That's a pretty good idea. I tried to make the Pointer class as simple
(and stupid) as possible but we might need some convenience APIs on
top of it, for those not familiar with the Objective-C encoding types.
Here is an API proposal based on Brian's snippet... thoughts?
class Pointer
def
Thanks Brian for the detailed explanation. I wonder if your Pointer
extension shouldn't be merged into HotCocoa or MacRuby itself.
What do you guys think?
- Matt
On Wed, Feb 25, 2009 at 12:43 PM, Brian Chapados wrote:
>> Can you explain: "^{_CGLRendererInfoObject=}"? is that some secret
>> inca
> Can you explain: "^{_CGLRendererInfoObject=}"? is that some secret
> incantation only known by the MacRuby/Obj overlords?
Yes, it is actually a 7th level spell: 'Encode Structure'. To learn
it, you must study the ancient tome:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCRuntim
Laurent replied via twitter: http://twitter.com/lrz/status/1243876823
The only workarounds would be to rewrite MacRuby to not use the GC, or
Mail.app to use the GC. Very unlikely.
- Matt
On Mon, Feb 23, 2009 at 9:42 PM, Olexandr Prokhorenko
wrote:
>
> Sirs,
> I'm playing around Mail.app plugin
Brian, what's up with this syntax: info =
Pointer.new_with_type("^{_CGLRendererInfoObject=}")
Can you explain: "^{_CGLRendererInfoObject=}"? is that some secret
incantation only known by the MacRuby/Obj overlords?
Thanks,
- Matt
On Wed, Feb 25, 2009 at 10:13 AM, Brian Chapados wrote:
> CGLRen
CGLRendererInfo is a pointer to a struct:
typedef struct _CGLRendererInfoObject *CGLRendererInfoObj;
try creating a pointer to void or to the struct:
info = Pointer.new_with_type("^v") # void *info;
or
info = Pointer.new_with_type("^{_CGLRendererInfoObject=}") #
CGLRendererInfo *info
I th
No, please just use trunk. You can switch the "location" of a
checkout: http://svnbook.red-bean.com/en/1.0/re27.html
Laurent, should we remove the testing branch, I think it's misleading
and un-useful atm.
Cheers,
Eloy
On Feb 8, 2009, at 3:43 PM, Pedo Borges wrote:
Checkout the testing b
Hello,
I am trying to port the Cocoa OpenGL sample to MacRuby and encountered
a few problems.
First, I can't access some constants defined in an enum in GLTypes.h.
Do I need to port those constants to ruby by hand ? Is that related to
gen_bridge_metadata ?
Second, I need to use CGLQue
Sirs,
I'm playing around Mail.app plugin bundles, and I'd like to use
MacRuby for building a plugin. However, I can't run it with Mail.app.
As soon as I'm placing a call to macruby_main(..), I'm getting:
The client that links against MacRuby was not built for GC.
I think Mail.app is not G
Checkout the testing brach from the svn repository.
On Feb 8, 2009, at 12:05 PM, Tedd Fox wrote:
Sorry for the newb question, but how can one upgrade from .3?
On Feb 8, 2009, at 3:14 AM, Vincent Isambart wrote:
Macintosh:vincentisambart-hotconsole-
cbdd6d06ece482e124516359cd9299294667daeb b
11 matches
Mail list logo