summaryrefslogtreecommitdiff
path: root/nbproject/configurations.xml
diff options
context:
space:
mode:
authorWayne Meissner <wmeissner@gmail.com>2008-12-08 17:16:48 +1000
committerWayne Meissner <wmeissner@gmail.com>2008-12-08 17:16:48 +1000
commitb2849b19d779034f38c2d066f0c1acbc2e97112f (patch)
tree991fdc38ddc6a54ce3e5664d93d78d0ac7211fbc /nbproject/configurations.xml
parent4cc470ca295f78bbae117e4858fb25c24fa7e899 (diff)
downloadffi-b2849b19d779034f38c2d066f0c1acbc2e97112f.tar.gz
When reading or returning a pointer that is NULL, return an instance of NullPointer, so operations on the pointer raise an error instead of crashing the VM.
Diffstat (limited to 'nbproject/configurations.xml')
-rw-r--r--nbproject/configurations.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/nbproject/configurations.xml b/nbproject/configurations.xml
index 07df156..27d4df8 100644
--- a/nbproject/configurations.xml
+++ b/nbproject/configurations.xml
@@ -16,6 +16,7 @@
<itemPath>ext/MemoryPointer.h</itemPath>
<itemPath>ext/NativeLibrary.c</itemPath>
<itemPath>ext/NativeLibrary.h</itemPath>
+ <itemPath>ext/NullPointer.c</itemPath>
<itemPath>ext/Platform.c</itemPath>
<itemPath>ext/Platform.h</itemPath>
<itemPath>ext/Pointer.c</itemPath>
@@ -144,6 +145,9 @@
<item path="ext/NativeLibrary.h">
<itemTool>3</itemTool>
</item>
+ <item path="ext/NullPointer.c">
+ <itemTool>0</itemTool>
+ </item>
<item path="ext/Platform.c">
<itemExcluded>true</itemExcluded>
<itemTool>0</itemTool>