This is a multi-part message in MIME format.
--------------050504080701010103070309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I'm trying to build a Ruby extension that wraps boost::dynamic_bitfield.
My code compiles perfectly but when instantiating an object of my class
ruby segfaults. I haven't been able find the source of the problem as
the segfault occurs deep inside the ruby core. Does anyone see anything
wrong with my code so far?
Code is at: http://pastebin.com/qLkMGYqq
BitField is defined as:
typedef struct _bitfield {
boost::dynamic_bitset<> data;
} BitField;
Cheers,
Fabian
--------------050504080701010103070309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv
ontent-type" content ext/html;
charset O-8859-1">
</head>
<body bgcolor FFFFFF" text 000000">
Hi,<br>
I'm trying to build a Ruby extension that wraps
boost::dynamic_bitfield. My code compiles perfectly but when
instantiating an object of my class ruby segfaults. I haven't been
able find the source of the problem as the segfault occurs deep
inside the ruby core. Does anyone see anything wrong with my code so
far?<br>
<br>
Code is at:
<meta http-equiv
ontent-type" content ext/html;
charset O-8859-1">
<a href ttp://pastebin.com/qLkMGYqq">http://pastebin.com/qLkMGYqq</a><br>
BitField is defined as:<br>
<br>
typedef struct _bitfield {<br>
boost::dynamic_bitset<> data;<br>
} BitField;<br>
<br>
Cheers,<br>
Fabian<br>
<br>
</body>
</html>
--------------050504080701010103070309--