X-Git-Url: http://nitlanguage.org diff --git a/src/ffi/light_c.nit b/src/ffi/light_c.nit index e0cd788..4c99e9b 100644 --- a/src/ffi/light_c.nit +++ b/src/ffi/light_c.nit @@ -91,13 +91,11 @@ class ForeignCType redef var ctype: String end -redef class Object - # Context when calling user C code from generated code - fun to_c_call_context: ToCCallContext do return once new ToCCallContext +# Context when calling user C code from generated code +fun to_c_call_context: ToCCallContext do return once new ToCCallContext - # Context when calling generated code from user C code - fun from_c_call_context: FromCCallContext do return once new FromCCallContext -end +# Context when calling generated code from user C code +fun from_c_call_context: FromCCallContext do return once new FromCCallContext # Context when calling user C code from generated code class ToCCallContext